getCameraZoomMaxRatio method

FutureOr<float> getCameraZoomMaxRatio()

@detail api @author zhangzhenyu.samuel @brief 获取当前使用的摄像头(前置/后置)的最大变焦倍数 @return 最大变焦倍数 @note 必须已调用 startVideoCapture{@link #RTCEngine#startVideoCapture} 使用 SDK 内部采集模块进行视频采集时,才能检测摄像头最大变焦倍数。

Implementation

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