ISnapshotResultCallback class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ISnapshotResultCallback

Constructors

ISnapshotResultCallback([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
onTakeRemoteSnapshotResult(long taskId, String streamId, StreamInfo streamInfo, Bitmap image, int errorCode) FutureOr<void>
@detail callback @brief 调用 takeRemoteSnapshot{@link #RTCEngine#takeRemoteSnapshot} 截取视频画面时,收到此回调。 @param taskId 远端截图任务的编号。和 takeRemoteSnapshot{@link #RTCEngine#takeRemoteSnapshot} 的返回值一致。 @param streamId 截图的远端流 ID。 @param streamInfo 截图的远端流信息,参看 StreamInfo{@link #StreamInfo}。 @param image 截图。你可以保存为文件,或对其进行二次处理。截图失败时,为空。 @param errorCode 截图错误码:
- 0: 成功 - -1: 截图错误。生成图片数据失败或 RGBA 编码失败 - -2: 截图错误。流无效。 - -3: 截图错误。截图超时,超时时间 1 秒。
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

Static Properties

codegen_$namespace → dynamic
no setter