1 Star 0 Fork 4.9K

平凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
OHOS-Media-CameraStateCallback.md 5.86 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 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/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助