OHOS::Media::CameraDeviceCallback

Overview

Related Modules:

MuiltiMedia_CameraDeviceCallback

Description:

Provides functions to response to device changes.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

CameraDeviceCallback ()=default

 

A constructor used to create a CameraDeviceCallback instance.

~CameraDeviceCallback ()=default

virtual 

A destructor used to delete the CameraDeviceCallback instance.

OnCameraStatus (std::string cameraId, int32_t status)

virtual void 

Called when the camera state changes.