NIMSDK-AOS  10.9.10
Public 成员函数 | 静态 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)
 

静态 Public 属性

static final String TAG_ACCOUNTS = "ids"
 
static final String TAG_ACCOUNT = "id"
 
- 静态 Public 属性 继承自 com.netease.nimlib.sdk.msg.attachment.NotificationAttachmentWithExtension
static final String TAG_ATTACH = "attach"
 

额外继承的成员函数

- 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 行定义.

成员函数说明

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

在文件 MemberChangeAttachment.java41 行定义.

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

在文件 MemberChangeAttachment.java46 行定义.

类成员变量说明

final String com.netease.nimlib.sdk.team.model.MemberChangeAttachment.TAG_ACCOUNT = "id"
static

在文件 MemberChangeAttachment.java34 行定义.

final String com.netease.nimlib.sdk.team.model.MemberChangeAttachment.TAG_ACCOUNTS = "ids"
static

在文件 MemberChangeAttachment.java33 行定义.


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