isCameraTorchSupported method

FutureOr<boolean> isCameraTorchSupported()

@detail api @author zhangzhenyu.samuel @brief Detect the currently used camera (front/postcondition), whether flash is supported. @return - true: Support - false: Not supported @note You must have called startVideoCapture{@link #RTCEngine#startVideoCapture} for video capture using the SDK internal capture module to detect flash capability.

Implementation

FutureOr<boolean> isCameraTorchSupported() async {
  return await nativeCall('isCameraTorchSupported', []);
}