TakeSnapshotResultObserver class

@brief 视频截图结果回调

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • TakeSnapshotResultObserver

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
onTakeLocalSnapshotResult(dynamic taskId, int width, int height, String filePath, int error) → void
onTakeRemoteSnapshotResult(dynamic taskId, String streamId, Map<String, dynamic> streamInfo, int width, int height, String filePath, int error) → void
putLocal(String taskId, CancelableCompleter<LocalSnapshot> completer) → void
putRemote(String taskId, CancelableCompleter<RemoteSnapshot> completer) → void
registerEvent(String name, dynamic method) → void
inherited
removeLocal(String taskId) → void
removeRemote(String taskId) → void
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

Static Properties

codegen_$namespace → dynamic
no setter

Constants

androidRTCMixedStreamObserverMethodMap → const Map<String, String>
errorException → const int
@brief 调用异常
errorImageFormat → const int
@brief 图片格式错误
errorNoTaskId → const int
@brief 未返回 TASK ID
errorWriteFileFailed → const int
@brief 文件写入失败
iOSRTCMixedStreamObserverMethodMap → const Map<String, String>