IFaceDetectionObserver class

Constructors

IFaceDetectionObserver({FutureOr<void> onFaceDetectResult(FaceDetectionResult result)?, FutureOr<void> onExpressionDetectResult(ExpressionDetectResult result)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onExpressionDetectResult FutureOr<void> Function(ExpressionDetectResult result)?
@hidden for internal use only @detail callback @author zhushufan.ref @brief Callback of the result of face detection with Effect SDK.
After calling registerFaceDetectionObserver and setVideoEffectExpressionDetect{@link #IVideoEffect#setVideoEffectExpressionDetect}, you will receive this callback. @param result Expression detection result. See ExpressionDetectResult{@link #ExpressionDetectResult}.
getter/setter pair
onFaceDetectResult FutureOr<void> Function(FaceDetectionResult result)?
@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}.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited