IRTCEncryptionHandler class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • IRTCEncryptionHandler
Implementers

Constructors

IRTCEncryptionHandler([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
onDecryptData(ArrayBuffer data) FutureOr<ArrayBuffer>
@detail callback @brief 自定义解密。
对自定义加密后的音视频帧数据进行解密。关于自定义加密,参看 onEncryptData{@link #IRTCEncryptionHandler#onEncryptData}。 @param data 加密过的数据。 @return 解密后的数据
onEncryptData(ArrayBuffer data) FutureOr<ArrayBuffer>
@detail callback @brief 自定义加密。
使用设定的自定义加密方式,对编码后传输前的音视频帧数据进行加密。
暂不支持对原始音视频帧进行加密。 @param data 未加密的数据。 @return 加密后的数据
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