SyIm class

全局入口,对齐 RTC SyRtcEngine.create。

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → SyImEngine?
no setter

Static Methods

create({required String appId, required String apiBaseUrl, String? imApiAddr, String? imWsAddr, String? dataDir}) → Future<SyImEngine>
创建引擎。若提供 imApiAddr/imWsAddr 则立即 initSDK。
init({required String appId, required String apiBaseUrl, String? imApiAddr, String? imWsAddr, String? dataDir}) → Future<SyImEngine>
reset() → void
For example / tests.