setCameraAutoFocusFaceModeEnabled method

  1. @override
Future<void> setCameraAutoFocusFaceModeEnabled(
  1. bool enabled
)

Enables the camera auto-face focus function.

Parameter enabled Sets whether to enable/disable the camera auto-face focus function:

  • true: Enable the camera auto-face focus function.
  • false: (Default) Disable the camera auto-face focus function.

Implementation

@override
Future<void> setCameraAutoFocusFaceModeEnabled(bool enabled) {
  return _invokeMethod(
      'setCameraAutoFocusFaceModeEnabled', {'enabled': enabled});
}