harmony 鸿蒙OH_AVScreenCaptureConfig

  • 2023-10-30
  • 浏览 (442)

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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞