isCameraZoomSupported method Null safety

Future<bool?> isCameraZoomSupported()

Checks whether the camera zoom function is supported.

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

Returns

  • true: The device supports the camera zoom function.
  • false: The device does not support the camera zoom function.

Implementation

@override
Future<bool?> isCameraZoomSupported() {
  return _invokeMethod('isCameraZoomSupported');
}