enableFaceDetection abstract method

Future<void> enableFaceDetection(
  1. bool enabled
)

开启/关闭本地人脸检测。

  • enabled 是否开启人脸检测: true :开启人脸检测。 false :(默认)关闭人脸检测。

Returns 方法成功调用时,无返回值;方法调用失败时,会抛出 AgoraRtcException 异常,你需要捕获异常并进行处理。详见错误码了解详情和解决建议。

Implementation

Future<void> enableFaceDetection(bool enabled);