isCameraFocusSupported method

  1. @override
Future<bool?> isCameraFocusSupported()

Checks whether the camera manual focus function is supported.

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

Note

This method is not supported for iOS.

Returns

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

Implementation

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