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

更新群资料的通知消息实体。 更多...

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

Public 成员函数

final void parse (JSONObject json)
 
Object getValue ()
 获取被更新的第一个字段的值。类型根据getValue()返回不同而不同。
用于兼容老版本接口以及客户端一次只会更新一个字段的情况。
详见com.netease.nimlib.sdk.team.constant.TeamFieldEnum#getFieldType() 更多...
 
TeamFieldEnum getField ()
 获取被更新的群资料字段。
用于兼容老版本接口以及客户端一次只会更新一个字段的情况。
更多...
 
Map< TeamFieldEnum, Object > getUpdatedFields ()
 获取被更新的所有字段的信息。 更多...
 
- 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
 扩展字段 更多...
 

详细描述

更新群资料的通知消息实体。

在文件 UpdateTeamAttachment.java21 行定义.

成员函数说明

◆ getField()

TeamFieldEnum com.netease.nimlib.sdk.team.model.UpdateTeamAttachment.getField ( )

获取被更新的群资料字段。
用于兼容老版本接口以及客户端一次只会更新一个字段的情况。

返回
字段名

在文件 UpdateTeamAttachment.java77 行定义.

◆ getUpdatedFields()

Map<TeamFieldEnum, Object> com.netease.nimlib.sdk.team.model.UpdateTeamAttachment.getUpdatedFields ( )

获取被更新的所有字段的信息。

返回
被更新的字段

在文件 UpdateTeamAttachment.java86 行定义.

◆ getValue()

Object com.netease.nimlib.sdk.team.model.UpdateTeamAttachment.getValue ( )

获取被更新的第一个字段的值。类型根据getValue()返回不同而不同。
用于兼容老版本接口以及客户端一次只会更新一个字段的情况。
详见com.netease.nimlib.sdk.team.constant.TeamFieldEnum#getFieldType()

返回

在文件 UpdateTeamAttachment.java67 行定义.

◆ parse()

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

在文件 UpdateTeamAttachment.java26 行定义.


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