V2TIMConversationManager class Manager
会话接口,包含了会话的获取,删除和更新的逻辑
setConversationListener 设置会话监听器
getConversationList 获取会话列表
deleteConversation 获取指定会话
setConversationDraft 删除会话
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
deleteConversation(
{String conversationID}) → Future< V2TimCallback> - 删除会话 [...]
-
getConversation(
{String conversationID}) → Future< V2TimValueCallback< V2TimConversation> > - 获取指定会话 [...]
-
getConversationList(
{int nextSeq, int count}) → Future< V2TimValueCallback< V2TimConversationResult> > - 获取会话列表 [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setConversationDraft(
{String conversationID, String draftText}) → Future< V2TimCallback> - 设置会话草稿 [...]
-
setConversationListener(
{Function listener}) → void -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited