1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
OHOS-Media-CameraStateCallback.md 5.86 KB
Copy Edit Raw Blame History
wenjun authored 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

OHOS::Media::CameraStateCallback

Overview

Related Modules:

MultiMedia_CameraStateCallback

Description:

Provides functions to response to camera states.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

CameraStateCallback ()=default

 

A constructor used to create a CameraStateCallback instance.

~CameraStateCallback ()

virtual 

A destructor used to delete the CameraStateCallback instance.

OnCreated (Camera &c)

virtual void 

Called when the camera is successfully created.

OnCreateFailed (const std::string cameraId, int32_t errorCode)

virtual void 

Called when the camera fails to be created.

OnReleased (Camera &c)

virtual void 

Called when the camera is released.

OnConfigured (Camera &c)

virtual void 

Called when the camera is configured.

OnConfigureFailed (const std::string cameraId, int32_t errorCode)

virtual void 

Called when the camera fails to be configured.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

Search