ByteRTCFaceDetectionObserver class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ByteRTCFaceDetectionObserver
Implementers

Constructors

ByteRTCFaceDetectionObserver([NativeClassOptions? options])

Properties

$instance ↔ dynamic
getter/setter pairinherited
$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
emit(String name, List args) → dynamic
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onExpressionDetectResult(ByteRTCExpressionDetectResult result) FutureOr<void>
@hidden for intrnal use only @detail callback @author zhushufan.ref @brief 特效 SDK 进行人像属性检测结果的回调。
调用 registerFaceDetectionObserver:withInterval: 注册了 ByteRTCFaceDetectionObserver{@link #ByteRTCFaceDetectionObserver},并调用 setVideoEffectExpressionDetect:{@link #ByteRTCVideoEffect#setVideoEffectExpressionDetect} 开启人像属性检测后,你会收到此回调。 @param result 人像属性检测结果, 参看 ByteRTCExpressionDetectResult{@link #ByteRTCExpressionDetectResult}。
onFaceDetectResult(ByteRTCFaceDetectionResult result) FutureOr<void>
@detail callback @author wangjunlin.3182 @brief 特效 SDK 进行人脸检测结果的回调。
调用 enableFaceDetection:withInterval:withModelPath:{@link #ByteRTCVideoEffect#enableFaceDetection:withInterval:withModelPath} 注册了 ByteRTCFaceDetectionObserver{@link #ByteRTCFaceDetectionObserver} ,并使用 RTC SDK 中包含的特效 SDK 进行视频特效处理时,你会收到此回调。 @param result 人脸检测结果, 参看 ByteRTCFaceDetectionResult{@link #ByteRTCFaceDetectionResult}。
registerEvent(String name, dynamic method) → void
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateInstance(dynamic instance) → void
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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