harmony 鸿蒙Camera_TorchStatusInfo

  • 2025-06-16
  • 浏览 (2)

Camera_TorchStatusInfo

概述

手电筒状态信息。

起始版本: 12

相关模块: OH_Camera

所在头文件: camera.h

汇总

成员变量

|名称|描述| |–|–| |bool isTorchAvailable|手电筒是否可用,true表示可用,false表示不可用。| |bool isTorchActive|手电筒是否激活,true表示激活,false表示未激活。| |float torchLevel|手电筒亮度等级。取值范围为[0,1],越靠近1,亮度越大。|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Camera Kit(相机服务)

harmony 鸿蒙Interface (AutoDeviceSwitch)

harmony 鸿蒙Interface (AutoDeviceSwitchQuery)

harmony 鸿蒙Interface (AutoExposure)

harmony 鸿蒙Interface (AutoExposureQuery)

harmony 鸿蒙Interface (CameraInput)

harmony 鸿蒙Interface (CameraManager)

harmony 鸿蒙Interface (CameraOutput)

harmony 鸿蒙废弃的Interface (CaptureSession, deprecated)

harmony 鸿蒙Interface (ColorManagement)

0  赞