Camera_TorchStatusInfo
typedef struct Camera_TorchStatusInfo {...} Camera_TorchStatusInfo
Overview
The 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. true if available, false otherwise. |
| bool isTorchActive | Whether the flashlight is activated. true if activated, false otherwise. |
| float torchLevel | Flashlight level. The value range is [0, 1]. A larger value indicates a greater luminance. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-oh-camera-capturesession-callbacks
openharmony 鸿蒙 arkts-apis-camera-OIS
openharmony 鸿蒙 capi-oh-camera-camera-devicequeryinfo
openharmony 鸿蒙 capi-oh-camera-camera-frameraterange
openharmony 鸿蒙 capi-oh-camera-camera-outputcapability
openharmony 鸿蒙 arkts-apis-camera-Photo
openharmony 鸿蒙 capi-oh-camera-camera-profile
openharmony 鸿蒙 capi-oh-camera-camera-manager