ConvManager class
Constructors
- ConvManager(SDKManager _sdkManager, MsgManager _msgManager, NoticeManager _noticeManager)
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
-
deleteConv(
{required String convId, bool clear = true}) → Future - 删除会话
-
deleteConvMsg(
{required String convId}) → Future - 删除会话消息
-
deleteConvNotice(
{required String convId}) → Future - 删除会话通知
-
getConvList(
) → Future< List< ConvModel> > - 获取会话列表
-
getSingleConv(
{required String convId}) → Future< ConvModel?> - 获取单条会话
-
getUnreadCount(
) → Future< int> - 获取未读数量
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConvDraft(
{required String convId, DraftModel? draftModel}) → Future - 设置会话草稿
-
setConvHidden(
{required String convId, }) → Future - 设置会话隐藏
-
setConvRead(
{required String convId, bool isSync = true}) → Future - 设置会话已读
-
toString(
) → String -
A string representation of this object.
inherited
-
updateConvMsg(
{required String convId}) → Future - 更新会话消息
-
updateConvNotice(
{required String convId}) → Future - 更新会话通知
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited