NIMSDK-AOS  9.17.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.team.model.MemberChangeAttachment类 参考

群成员变动的通知消息实体。包括群成员变化和管理权限变化。
所有类型的变动,操作者均为消息的fromAccount,被操作者为getTargets()
包括以下通知类型:
更多...

类 com.netease.nimlib.sdk.team.model.MemberChangeAttachment 继承关系图:
com.netease.nimlib.sdk.msg.attachment.NotificationAttachmentWithExtension com.netease.nimlib.sdk.msg.attachment.NotificationAttachment com.netease.nimlib.sdk.msg.attachment.MsgAttachment com.netease.nimlib.sdk.team.model.MuteMemberAttachment

Public 成员函数

ArrayList< String > getTargets ()
 
void parse (JSONObject json)
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.msg.attachment.NotificationAttachmentWithExtension
Map< String, Object > getExtension ()
 
void parse (JSONObject json)
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.msg.attachment.NotificationAttachment
NotificationType getType ()
 获取通知类型 更多...
 
void setType (NotificationType type)
 设置通知类型 更多...
 
String toJson (boolean send)
 将消息附件序列化为字符串,存储到消息数据库或发送到服务器。
更多...
 
final void fromJson (String json)
 
abstract void parse (JSONObject json)
 

额外继承的成员函数

- Protected 属性 继承自 com.netease.nimlib.sdk.msg.attachment.NotificationAttachmentWithExtension
Map< String, Object > extension
 扩展字段 更多...
 

详细描述

群成员变动的通知消息实体。包括群成员变化和管理权限变化。
所有类型的变动,操作者均为消息的fromAccount,被操作者为getTargets()
包括以下通知类型:

参见
com.netease.nimlib.sdk.msg.constant.NotificationType::InviteMember
com.netease.nimlib.sdk.msg.constant.NotificationType::KickMember
com.netease.nimlib.sdk.msg.constant.NotificationType::PassTeamApply
com.netease.nimlib.sdk.msg.constant.NotificationType::LeaveTeam
com.netease.nimlib.sdk.msg.constant.NotificationType::TransferOwner
com.netease.nimlib.sdk.msg.constant.NotificationType::SUPER_TEAM_INVITE
com.netease.nimlib.sdk.msg.constant.NotificationType::SUPER_TEAM_LEAVE
com.netease.nimlib.sdk.msg.constant.NotificationType::SUPER_TEAM_KICK
targets列表只包含新任拥有者的帐号
com.netease.nimlib.sdk.msg.constant.NotificationType::AddTeamManager
com.netease.nimlib.sdk.msg.constant.NotificationType::RemoveTeamManager
com.netease.nimlib.sdk.msg.constant.NotificationType::AcceptInvite
targets列表只包含邀请者的用户帐号

在文件 MemberChangeAttachment.java31 行定义.

成员函数说明

◆ getTargets()

ArrayList<String> com.netease.nimlib.sdk.team.model.MemberChangeAttachment.getTargets ( )

在文件 MemberChangeAttachment.java41 行定义.

◆ parse()

void com.netease.nimlib.sdk.team.model.MemberChangeAttachment.parse ( JSONObject  json)

在文件 MemberChangeAttachment.java46 行定义.


该类的文档由以下文件生成: