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

"禁言服务器成员"接口参数 更多...

Public 成员函数

 QChatServerMuteParam (long serverId, QChatMuteOperateType operateType, List< String > muteAccountIds, long duration)
 
 QChatServerMuteParam (long serverId, QChatMuteOperateType operateType, List< String > muteAccountIds, long duration, String postscript, QChatMuteNotifyScope notifyType)
 
long getServerId ()
 获取服务器id 更多...
 
QChatMuteOperateType getOperateType ()
 获取操作类型 更多...
 
List< String > getMuteAccountIds ()
 获取禁言成员列表 更多...
 
long getDuration ()
 获取禁言持续时长 更多...
 
String getPostscript ()
 获取附言 更多...
 
void setPostscript (String postscript)
 设置附言 更多...
 
QChatMuteNotifyScope getNotifyType ()
 获取通知类型 更多...
 
void setNotifyType (QChatMuteNotifyScope notifyType)
 设置通知类型 更多...
 
boolean isValid ()
 判断参数是否合法 更多...
 

详细描述

"禁言服务器成员"接口参数

在文件 QChatServerMuteParam.java11 行定义.

构造及析构函数说明

com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.QChatServerMuteParam ( long  serverId,
QChatMuteOperateType  operateType,
List< String >  muteAccountIds,
long  duration 
)
参数
serverId服务器id
operateType操作类型
muteAccountIds禁言成员列表
duration禁言持续时长 单位:秒

在文件 QChatServerMuteParam.java59 行定义.

com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.QChatServerMuteParam ( long  serverId,
QChatMuteOperateType  operateType,
List< String >  muteAccountIds,
long  duration,
String  postscript,
QChatMuteNotifyScope  notifyType 
)
参数
serverId服务器id
operateType操作类型
muteAccountIds禁言成员列表
duration禁言持续时长 单位:秒
postscript附言
notifyType通知类型

在文件 QChatServerMuteParam.java74 行定义.

成员函数说明

long com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getDuration ( )

获取禁言持续时长

返回
禁言持续时长

在文件 QChatServerMuteParam.java118 行定义.

List<String> com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getMuteAccountIds ( )

获取禁言成员列表

返回
禁言成员列表

在文件 QChatServerMuteParam.java108 行定义.

QChatMuteNotifyScope com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getNotifyType ( )

获取通知类型

返回
通知类型

在文件 QChatServerMuteParam.java145 行定义.

QChatMuteOperateType com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getOperateType ( )

获取操作类型

返回
操作类型

在文件 QChatServerMuteParam.java98 行定义.

String com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getPostscript ( )

获取附言

返回
附言

在文件 QChatServerMuteParam.java127 行定义.

long com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.getServerId ( )

获取服务器id

返回
服务器id

在文件 QChatServerMuteParam.java89 行定义.

boolean com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.isValid ( )

判断参数是否合法

返回
参数是否合法

在文件 QChatServerMuteParam.java162 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.setNotifyType ( QChatMuteNotifyScope  notifyType)

设置通知类型

参数
notifyType通知类型

在文件 QChatServerMuteParam.java154 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatServerMuteParam.setPostscript ( String  postscript)

设置附言

参数
postscript附言

在文件 QChatServerMuteParam.java136 行定义.


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