1# Camera_TorchStatusInfo 2 3 4## Overview 5 6The Camera_TorchStatusInfo struct describes the flashlight status information. 7 8**Since**: 12 9 10**Related module**: [OH_Camera](_o_h___camera.md) 11 12 13## Summary 14 15 16### Member Variables 17 18| Name| Description| 19| -------- | -------- | 20| bool [isTorchAvailable](#istorchavailable) | Whether the flashlight is available. | 21| bool [isTorchActive](#istorchactive) | Whether the flashlight is activated. | 22| float [torchLevel](#torchlevel) | Flashlight level. The value range is [0, 1]. A larger value indicates a greater luminance. | 23 24 25## Member Variable Description 26 27 28### isTorchActive 29 30``` 31bool Camera_TorchStatusInfo::isTorchActive 32``` 33 34**Description** 35 36Whether the flashlight is activated. 37 38 39### isTorchAvailable 40 41``` 42bool Camera_TorchStatusInfo::isTorchAvailable 43``` 44 45**Description** 46 47Whether the flashlight is available. 48 49 50### torchLevel 51 52``` 53float Camera_TorchStatusInfo::torchLevel 54``` 55 56**Description** 57 58Flashlight level. The value range is [0, 1]. A larger value indicates a greater luminance. 59