harmony 鸿蒙Camera_TorchStatusInfo
Camera_TorchStatusInfo
Overview
The Camera_TorchStatusInfo struct describes the flashlight status information.
Since: 12
Related module: OH_Camera
Header file: camera.h
Summary
Member Variables
Name | Description |
---|---|
bool isTorchAvailable | Whether the flashlight is available. The value true means that the flashlight is available, and false means the opposite. |
bool isTorchActive | Whether the flashlight is activated. The value true means that the flashlight is activated, and false means the opposite. |
float torchLevel | Flashlight level. The value range is [0, 1]. A larger value indicates a greater luminance. |
Member Variable Description
isTorchActive
bool Camera_TorchStatusInfo::isTorchActive
Description
Whether the flashlight is activated.
isTorchAvailable
bool Camera_TorchStatusInfo::isTorchAvailable
Description
Whether the flashlight is available.
torchLevel
float Camera_TorchStatusInfo::torchLevel
Description
Flashlight level. The value range is [0, 1]. A larger value indicates a greater luminance.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Camera_CaptureEndInfo
harmony 鸿蒙Camera_CaptureStartInfo
harmony 鸿蒙Camera_ConcurrentInfo
harmony 鸿蒙Camera_FrameRateRange
harmony 鸿蒙Camera_FrameShutterEndInfo
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦