isCameraTorchSupported method
@hidden(macOS) @detail api @author zhangzhenyu.samuel @brief 检测当前使用的摄像头(前置/后置),是否支持闪光灯。 @return - true: 支持 - false: 不支持 @note 必须已调用 startVideoCapture{@link #ByteRTCEngine#startVideoCapture} 使用 SDK 内部采集模块进行视频采集时,才能检测闪光能力。
Implementation
FutureOr<bool> isCameraTorchSupported() async {
return await nativeCall('isCameraTorchSupported', []);
}