Home
last modified time | relevance | path

Searched refs:torchStatus (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dnative-camera-torch-use.md86 …通过注册torchStatus事件,通过回调返回监听结果,callback返回Camera_TorchStatusInfo参数,参数的具体内容可参考相机管理器回调接口实例[Camera_Torch…
95 void GetTorchStatusCallback(Camera_Manager *cameraManager, Camera_TorchStatusInfo* torchStatus)
/ohos5.0/docs/en/application-dev/media/camera/
H A Dnative-camera-torch-use.md95 void OnTorchStatusChange(Camera_Manager *cameraManager, Camera_TorchStatusInfo* torchStatus)
99 void GetTorchStatusCb(Camera_Manager *cameraManager, Camera_TorchStatusInfo* torchStatus)
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/
H A Dhcamera_service_callback_proxy.h53 int32_t OnTorchStatusChange(const TorchStatus torchStatus) override;
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_host_manager.cpp575 TorchStatus torchStatus = TORCH_STATUS_OFF; in OnFlashlightStatus_V1_2() local
578 torchStatus = TORCH_STATUS_OFF; in OnFlashlightStatus_V1_2()
583 torchStatus = TORCH_STATUS_ON; in OnFlashlightStatus_V1_2()
588 torchStatus = TORCH_STATUS_UNAVAILABLE; in OnFlashlightStatus_V1_2()
596 statusCallback->OnTorchStatus(torchStatus); in OnFlashlightStatus_V1_2()