getCameraMaxZoomFactor method

  1. @override
Future<double?> getCameraMaxZoomFactor()

Gets the maximum zoom ratio supported by the camera.

Note

This method is only supported in iOS.

Ensure that you call this method after the camera starts, for example, by calling startPreview or joinChannel.

Returns

  • The maximum camera zoom factor, if this method call succeeds.
  • Error code, if this method call fails.

Implementation

@override
Future<double?> getCameraMaxZoomFactor() {
  return _invokeMethod('getCameraMaxZoomFactor');
}