onFaceDetectResult property

FutureOr<void> Function(FaceDetectionResult result)? onFaceDetectResult
getter/setter pair

@detail callback @author wangjunlin.3182 @brief Callback of the result of face detection with Effect SDK.
After calling enableFaceDetection{@link #IVideoEffect#enableFaceDetection} and using the Effect SDK integrated in the RTC SDK, you will receive this callback. @param result Face detection result. See FaceDetectionResult{@link #FaceDetectionResult}.

Implementation

FutureOr<void> Function(FaceDetectionResult result)? onFaceDetectResult;