setCameraAutoFocusFaceModeEnabled abstract method
Enables the camera auto-face focus function. Call this method before calling joinChannel , enableVideo , or enableLocalVideo , depending on which method you use to turn on your local camera.
Param enabled
Whether to enable the camera auto-face focus function: true: Enable the camera auto-face focus function.
false: (Default) Disable the camera auto-face focus function.
return 0: Success. < 0: Failure.
Implementation
Future<void> setCameraAutoFocusFaceModeEnabled(bool enabled);