enableFaceDetection abstract method

Future<void> enableFaceDetection(
  1. bool enabled
)

Enables/disables local face detection.

  • enabled Whether to enable face detection: true : Enables face detection. false : (Default) Disables 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> enableFaceDetection(bool enabled);