setCameraAutoFocusFaceModeEnabled abstract method
Enables the camera auto-face focus function.
By default, the SDK disables face autofocus on Android and enables face autofocus on iOS. To set face autofocus, call this method. This method is for Android and iOS only.
enabled
Whether to enable face autofocus: true : Enable the camera auto-face focus function. false : Disable face autofocus.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> setCameraAutoFocusFaceModeEnabled(bool enabled);