getCameraZoomMaxRatio method

FutureOr<float> getCameraZoomMaxRatio()

@detail api @author zhangzhenyu.samuel @brief Get the maximum zoom factor of the currently used camera (front/postcondition) @return Maximum zoom factor @note You must have called startVideoCapture{@link #RTCEngine#startVideoCapture} using the SDK internal capture module for video capture, the maximum zoom factor of the camera can be detected.

Implementation

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