getCameraMaxZoomFactor method Null safety

Future<double?> getCameraMaxZoomFactor()

Gets the maximum zoom ratio supported by the camera.


This method is only supported in iOS.

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


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


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