NIMSDK-AOS  9.16.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam类 参考

"更新系统通知"接口入参 更多...

Public 成员函数

 QChatUpdateSystemNotificationParam (@NonNull QChatUpdateParam updateParam, long msgIdServer, QChatSystemNotificationType type)
 只能更新isPersistEnable为true的通知 更多...
 
QChatUpdateParam getUpdateParam ()
 获取更新操作通用参数 更多...
 
Long getMsgIdServer ()
 获取服务端生成的消息id 更多...
 
QChatSystemNotificationType getType ()
 获取通知类型 更多...
 
String getBody ()
 获取通知内容 更多...
 
void setBody (String body)
 设置通知内容 更多...
 
Map< String, Object > getExtension ()
 获取通知扩展 更多...
 
void setExtension (Map< String, Object > extension)
 设置通知扩展 更多...
 
Integer getStatus ()
 获取状态 更多...
 
void setStatus (Integer status)
 设置状态,只能设置成自定义的状态(status>= 10000),否则提示414参数错误 更多...
 

详细描述

"更新系统通知"接口入参

在文件 QChatUpdateSystemNotificationParam.java12 行定义.

构造及析构函数说明

◆ QChatUpdateSystemNotificationParam()

com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.QChatUpdateSystemNotificationParam ( @NonNull QChatUpdateParam  updateParam,
long  msgIdServer,
QChatSystemNotificationType  type 
)

只能更新isPersistEnable为true的通知

参数
updateParam更新操作通用参数
msgIdServer通知id,全局唯一
type通知类型

在文件 QChatUpdateSystemNotificationParam.java48 行定义.

成员函数说明

◆ getBody()

String com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getBody ( )

获取通知内容

在文件 QChatUpdateSystemNotificationParam.java81 行定义.

◆ getExtension()

Map<String, Object> com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getExtension ( )

获取通知扩展

在文件 QChatUpdateSystemNotificationParam.java96 行定义.

◆ getMsgIdServer()

Long com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getMsgIdServer ( )

获取服务端生成的消息id

在文件 QChatUpdateSystemNotificationParam.java66 行定义.

◆ getStatus()

Integer com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getStatus ( )

获取状态

在文件 QChatUpdateSystemNotificationParam.java111 行定义.

◆ getType()

QChatSystemNotificationType com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getType ( )

获取通知类型

在文件 QChatUpdateSystemNotificationParam.java74 行定义.

◆ getUpdateParam()

QChatUpdateParam com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.getUpdateParam ( )

获取更新操作通用参数

在文件 QChatUpdateSystemNotificationParam.java58 行定义.

◆ setBody()

void com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.setBody ( String  body)

设置通知内容

参数
body

在文件 QChatUpdateSystemNotificationParam.java89 行定义.

◆ setExtension()

void com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.setExtension ( Map< String, Object >  extension)

设置通知扩展

参数
extension

在文件 QChatUpdateSystemNotificationParam.java104 行定义.

◆ setStatus()

void com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam.setStatus ( Integer  status)

设置状态,只能设置成自定义的状态(status>= 10000),否则提示414参数错误

参数
status

在文件 QChatUpdateSystemNotificationParam.java119 行定义.


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