ByteRTCHttpClientProtocol class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ByteRTCHttpClientProtocol

Constructors

ByteRTCHttpClientProtocol([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
getAsync$timeoutMillisecond$withCallback(NSString url, int timeout, void callback(int code, String data)) FutureOr<void>
@detail api @author weirongbin @brief 需要实现的 HTTP 异步 GET 接口。 @param url GET 请求地址。 @param timeout 超时时间。 @param callback GET 请求结果回调函数。
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
postAsync$content$timeoutMillisecond$withCallback(NSString url, NSString content, int timeout, void callback(int code, String data)) FutureOr<void>
@detail api @author weirongbin @brief 需要实现的 HTTP 异步 POST 接口。 @param url POST 请求地址。 @param content POST 请求的内容。 @param timeout 超时时间。 @param callback POST 请求结果回调函数。
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