TeamServicePlatform class abstract

Inheritance

Constructors

TeamServicePlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
observeTeamNotification StreamController<List<NIMMessageReceipt>>
群组通知消息 群组通知的消息类型是 MsgTypeEnum.notification ,用户入群成功之后,任何关于群的变动(含自己入群的动作),云信服务器都会下发一条群通知消息。
final
onMemberUpdate StreamController<List<NIMTeamMember>>
群成员资料变化观察者通知。 上层APP如果管理了群成员资料的缓存,可通过此接口更新缓存。 observer 观察者, 参数为有更新的群成员资料列表 register true为注册,false为注销
final
onTeamListRemove StreamController<List<NIMTeam>>
final
onTeamListUpdate StreamController<List<NIMTeam>>
final
onTeamMemberRemove StreamController<List<NIMTeamMember>>
final
onTeamMemberUpdate StreamController<List<NIMTeamMember>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
no setterinherited

Methods

acceptInvite(String teamId, String inviter) Future<NIMResult<void>>
addManagers(String teamId, List<String> accounts) Future<NIMResult<List<NIMTeamMember>>>
addMembersEx(String teamId, List<String> accounts, String msg, String customInfo) Future<NIMResult<List<String>>>
applyJoinTeam(String teamId, String postscript) Future<NIMResult<NIMTeam>>
createTeam(NIMCreateTeamOptions createTeamOptions, List<String> members) Future<NIMResult<NIMCreateTeamResult>>
declineInvite(String teamId, String inviter, String reason) Future<NIMResult<void>>
dismissTeam(String teamId) Future<NIMResult<void>>
getMemberInvitor(String teamId, List<String> accids) Future<NIMResult<Map<String, String>>>
handleMethodCall(String method, dynamic arguments) Future
inherited
invokeMethod(String method, {Map<String, dynamic>? arguments}) Future<Map<String, dynamic>>
inherited
muteAllTeamMember(String teamId, bool mute) Future<NIMResult<void>>
muteTeam(String teamId, NIMTeamMessageNotifyTypeEnum notifyType) Future<NIMResult<void>>
muteTeamMember(String teamId, String account, bool mute) Future<NIMResult<void>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent(String method, dynamic arguments) Future
inherited
passApply(String teamId, String account) Future<NIMResult<void>>
queryMemberList(String teamId) Future<NIMResult<List<NIMTeamMember>>>
queryMutedTeamMembers(String teamId) Future<NIMResult<List<NIMTeamMember>>>
queryTeam(String teamId) Future<NIMResult<NIMTeam>>
queryTeamList() Future<NIMResult<List<NIMTeam>>>
queryTeamMember(String teamId, String account) Future<NIMResult<NIMTeamMember>>
quitTeam(String teamId) Future<NIMResult<void>>
rejectApply(String teamId, String account, String reason) Future<NIMResult<void>>
removeManagers(String teamId, List<String> managers) Future<NIMResult<List<NIMTeamMember>>>
removeMembers(String teamId, List<String> members) Future<NIMResult<void>>
searchTeam(String teamId) Future<NIMResult<NIMTeam>>
searchTeamIdByName(String name) Future<NIMResult<List<String>>>
searchTeamsByKeyword(String keyword) Future<NIMResult<List<NIMTeam>>>
用户在客户端本地可以搜索与关键字匹配的所有群: 通过群名称反查群组ID name 群组名称 群ID列表
toString() String
A string representation of this object.
inherited
transferTeam(String tid, String account, bool quit) Future<NIMResult<List<NIMTeamMember>>>
updateMemberNick(String teamId, String account, String nick) Future<NIMResult<void>>
updateMyMemberExtension(String teamId, Map<String, Object> extension) Future<NIMResult<void>>
updateMyTeamNick(String teamId, String nick) Future<NIMResult<void>>
修改自己的群昵称
updateTeamFields(String teamId, NIMTeamUpdateFieldRequest request) Future<NIMResult<void>>

Operators

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

Static Properties

instance TeamServicePlatform
getter/setter pair