IMLiteCore class

Constructors

IMLiteCore()
factory

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

init({required String apiUrl, required String wsUrl, bool autoPull = true, Duration autoPullTime = const Duration(seconds: 30), ConnectListener? connectListener, ReceiveConvListener? receiveConvListener, ReceiveMsgListener? receiveMsgListener}) → void
初始化
isLogin() bool
是否登录
login({required String token, required String userID}) Future
登录
logout() Future
登出
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullConvList() Future
拉取会话
pullMsgList({required PullMsgList pullList}) Future<MsgDataList?>
拉取消息
sendMsg({required MsgData msg}) Future<bool?>
发送消息
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance IMLiteCore
no setter