V2NIMConversationGroupService class
会话分组服务
- Annotations
-
- @HawkEntryPoint.new()
Constructors
- V2NIMConversationGroupService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onConversationGroupChanged
→ Stream<
V2NIMConversationGroup> -
会话分组改变回调
no setter
-
onConversationGroupCreated
→ Stream<
V2NIMConversationGroup> -
会话分组创建回调
no setter
-
onConversationGroupDeleted
→ Stream<
String> -
会话分组删除回调
no setter
-
onConversationsAddedToGroup
→ Stream<
ConversationsAddedEvent> -
会话添加到分组回调
no setter
-
onConversationsRemovedFromGroup
→ Stream<
ConversationsRemovedEvent> -
会话从分组移除回调
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addConversationsToGroup(
String groupId, List< String> conversationIds) → Future<NIMResult< List< >V2NIMConversationOperationResult> > - 添加会话到分组
-
createConversationGroup(
String name, List< String> conversationIds, {String? serverExtension}) → Future<NIMResult< V2NIMConversationGroupResult> > - 创建会话分组
-
deleteConversationGroup(
String groupId) → Future< NIMResult< void> > - 删除会话分组
-
getConversationGroup(
String groupId) → Future< NIMResult< V2NIMConversationGroup> > - 获取会话分组
-
getConversationGroupList(
) → Future< NIMResult< List< >V2NIMConversationGroup> > - 获取会话分组列表
-
getConversationGroupListByIds(
List< String> groupIds) → Future<NIMResult< List< >V2NIMConversationGroup> > - 获取会话分组列表
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeConversationsFromGroup(
String groupId, List< String> conversationIds) → Future<NIMResult< List< >V2NIMConversationOperationResult> > - 从会话分组移除会话
-
toString(
) → String -
A string representation of this object.
inherited
-
updateConversationGroup(
String groupId, String name, {String? serverExtension}) → Future< NIMResult< void> > - 更新会话分组
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited