OHOS::Media::CameraConfig

Overview

Related Modules:

MultiMedia_CameraConfig

Description:

Provides functions to configure camera parameters.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

~CameraConfig ()

virtual 

A destructor used to delete the CameraAbility instance.

SetFrameStateCallback (FrameStateCallbackcallback, EventHandler handler)

virtual void 

Sets a frame state callback to responds to state changes.

GetEventHandler () const

virtual EventHandler  

Obtains the EventHandler object.

GetFrameStateCb () const

virtual FrameStateCallback  

Obtains a FrameStateCallback object.

Static Public Member Functions

Static Public Member Function Name

Description

CreateCameraConfig ()

static CameraConfig

Creates the CameraConfig instance of this singleton class to configure and read the required parameters.

Protected Member Functions

Protected Member Function Name

Description

CameraConfig ()

 

A constructor used to create a CameraConfig instance.