enableFaceDetection abstract method
Enables or disables face detection for the local user.
This method is for Android and iOS only.
enabled
Whether to enable face detection for the local user: true : Enable face detection. false : (Default) Disable face detection.
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> enableFaceDetection(bool enabled);