Home
last modified time | relevance | path

Searched refs:TorchStatusInfo (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/input/
H A Dcamera_manager_napi.h89 void OnTorchStatusChange(const TorchStatusInfo &torchStatusInfo) const override;
91 void OnTorchStatusChangeCallback(const TorchStatusInfo &torchStatusInfo) const;
92 void OnTorchStatusChangeCallbackAsync(const TorchStatusInfo &torchStatusInfo) const;
96 TorchStatusInfo info_;
98 TorchStatusChangeCallbackInfo(TorchStatusInfo info, const TorchListenerNapi* listener) in TorchStatusChangeCallbackInfo()
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-torch-use.md70 通过注册torchStatusChange事件,通过回调返回监听结果,callback返回TorchStatusInfo参数,参数的具体内容可参考相机管理器回调接口实例[TorchStatusInf…
75 …aManager.on('torchStatusChange', (err: BusinessError, torchStatusInfo: camera.TorchStatusInfo) => {
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-torch-use.md66 …gh a callback, which carries the **TorchStatusInfo** parameter. For details about the parameter, s…
71 …aManager.on('torchStatusChange', (err: BusinessError, torchStatusInfo: camera.TorchStatusInfo) => {
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/
H A D@ohos.multimedia.camera.d.ts1048 on(type: 'torchStatusChange', callback: AsyncCallback<TorchStatusInfo>): void;
1058 off(type: 'torchStatusChange', callback?: AsyncCallback<TorchStatusInfo>): void;
1068 interface TorchStatusInfo {
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_manager.h80 struct TorchStatusInfo { struct
120 virtual void OnTorchStatusChange(const TorchStatusInfo &torchStatusInfo) const = 0;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_manager_napi.cpp339 void TorchListenerNapi::OnTorchStatusChangeCallbackAsync(const TorchStatusInfo &torchStatusInfo) co… in OnTorchStatusChangeCallbackAsync()
372 void TorchListenerNapi::OnTorchStatusChangeCallback(const TorchStatusInfo& torchStatusInfo) const in OnTorchStatusChangeCallback()
401 void TorchListenerNapi::OnTorchStatusChange(const TorchStatusInfo &torchStatusInfo) const in OnTorchStatusChange()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcamera_manager_impl.cpp97 void OnTorchStatusChange(const TorchStatusInfo &torchStatusInfo) const override in OnTorchStatusChange()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera.md1169 on(type: 'torchStatusChange', callback: AsyncCallback\<TorchStatusInfo\>): void
1184 | callback | AsyncCallback\<TorchStatusInfo> | 是 | 回调函数,用于获取手电筒状态变化信息。 |
1191 function callback(err: BusinessError, torchStatusInfo: camera.TorchStatusInfo): void {
1206 off(type: 'torchStatusChange', callback?: AsyncCallback\<TorchStatusInfo\>): void
1217 | callback | AsyncCallback\<TorchStatusInfo> | 否 | 回调函数,如果指定参数则取消对应callback(callback对象不可是匿名函数),否则…
1239 ## TorchStatusInfo<sup>11+</sup>
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera.md1172 on(type: 'torchStatusChange', callback: AsyncCallback\<TorchStatusInfo\>): void
1187 | callback | AsyncCallback\<TorchStatusInfo> | Yes | Callback used to return the flashlight status…
1194 function callback(err: BusinessError, torchStatusInfo: camera.TorchStatusInfo): void {
1209 off(type: 'torchStatusChange', callback?: AsyncCallback\<TorchStatusInfo\>): void
1220 | callback | AsyncCallback\<TorchStatusInfo> | No | Callback used to return the result. If this pa…
1242 ## TorchStatusInfo<sup>11+</sup>
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp1918 TorchStatusInfo torchStatusInfo; in OnTorchStatusChange()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp151 TorchStatusInfo g_torchInfo;
220 void OnTorchStatusChange(const TorchStatusInfo &torchStatusInfo) const override in OnTorchStatusChange()