harmony 鸿蒙OH_AVScreenCaptureConfig

  • 2025-06-12
  • 浏览 (5)

OH_AVScreenCaptureConfig

Overview

The OH_AVScreenCaptureConfig struct describes the screen capture configuration.

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since: 10

Related module: AVScreenCapture

Header file: native_avscreen_capture_base.h

Summary

Member Variables

Name Description
OH_CaptureMode captureMode Screen capture mode.
OH_DataType dataType Data type of the screen capture stream.
OH_AudioInfo audioInfo Audio capture information.
OH_VideoInfo videoInfo Video capture information.
OH_RecorderInfo recorderInfo Recording file information. This member variable is mandatory when the data type is OH_CAPTURE_FILE.

Member Variable Description

audioInfo

OH_AudioInfo OH_AVScreenCaptureConfig::audioInfo

Description

Audio capture information.

captureMode

OH_CaptureMode OH_AVScreenCaptureConfig::captureMode

Description

Screen capture mode.

dataType

OH_DataType OH_AVScreenCaptureConfig::dataType

Description

Data type of the screen capture stream.

recorderInfo

OH_RecorderInfo OH_AVScreenCaptureConfig::recorderInfo

Description

Recording file information. This member variable is mandatory when the data type is OH_CAPTURE_FILE.

videoInfo

OH_VideoInfo OH_AVScreenCaptureConfig::videoInfo

Description

Video capture information.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit

harmony 鸿蒙AVImageGenerator

harmony 鸿蒙AVMetadataExtractor

harmony 鸿蒙AVPlayer

harmony 鸿蒙AVPlayerCallback

harmony 鸿蒙AVRecorder

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙OH_AVRecorder_Config

harmony 鸿蒙OH_AVRecorder_EncoderInfo

harmony 鸿蒙OH_AVRecorder_Location

0  赞