OH_AVScreenCaptureConfig

Overview

The OH_AVScreenCaptureConfig struct defines the screen capture configuration.

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since

10

Related Modules

AVScreenCapture

Summary

Member Variables

Name Description
captureMode OH_CaptureMode
Defines the screen capture mode.
dataType OH_DataType
Defines the data type of the screen capture stream.
audioInfo OH_AudioInfo
Defines audio capture parameters.
videoInfo OH_VideoInfo
Defines video capture parameters.
recorderInfo OH_RecorderInfo
Defines recording file parameters. This member variable is mandatory when the data type is OH_CAPTURE_FILE.
NOTE: This member variable is reserved and will be provided in later versions.

Member Variable Description

audioInfo

OH_AudioInfo OH_AVScreenCaptureConfig::audioInfo

Description

Defines audio capture parameters.

captureMode

OH_CaptureMode OH_AVScreenCaptureConfig::captureMode

Description

Defines the screen capture mode.

dataType

OH_DataType OH_AVScreenCaptureConfig::dataType

Description

Defines the data type of the screen capture stream.

recorderInfo

OH_RecorderInfo OH_AVScreenCaptureConfig::recorderInfo

Description

Defines recording file parameters. This member variable is mandatory when the data type is OH_CAPTURE_FILE.

NOTE

This member variable is reserved and will be provided in later versions.

videoInfo

OH_VideoInfo OH_AVScreenCaptureConfig::videoInfo

Description

Defines video capture parameters.