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

"禁言频道成员"接口参数 更多...

Public 成员函数

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

详细描述

"禁言频道成员"接口参数

在文件 QChatChannelMuteParam.java11 行定义.

构造及析构函数说明

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

在文件 QChatChannelMuteParam.java66 行定义.

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

在文件 QChatChannelMuteParam.java84 行定义.

成员函数说明

long com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.getChannelId ( )

获取频道id

返回
频道id

在文件 QChatChannelMuteParam.java117 行定义.

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

获取禁言持续时长

返回
禁言持续时长

在文件 QChatChannelMuteParam.java171 行定义.

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

获取禁言成员列表

返回
禁言成员列表

在文件 QChatChannelMuteParam.java153 行定义.

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

获取通知类型

返回
通知类型

在文件 QChatChannelMuteParam.java207 行定义.

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

获取操作类型

返回
操作类型

在文件 QChatChannelMuteParam.java135 行定义.

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

获取附言

返回
附言

在文件 QChatChannelMuteParam.java189 行定义.

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

获取服务器id

返回
服务器id

在文件 QChatChannelMuteParam.java99 行定义.

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

判断参数是否合法

返回
参数是否合法

在文件 QChatChannelMuteParam.java224 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setChannelId ( long  channelId)

设置频道id

参数
channelId频道id

在文件 QChatChannelMuteParam.java126 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setDuration ( long  duration)

设置禁言持续时长

参数
duration禁言持续时长

在文件 QChatChannelMuteParam.java180 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setMuteAccountIds ( List< String >  muteAccountIds)

设置禁言成员列表

参数
muteAccountIds禁言成员列表

在文件 QChatChannelMuteParam.java162 行定义.

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

设置通知类型

参数
notifyType通知类型

在文件 QChatChannelMuteParam.java216 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setOperateType ( QChatMuteOperateType  operateType)

设置操作类型

参数
operateType操作类型

在文件 QChatChannelMuteParam.java144 行定义.

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

设置附言

参数
postscript附言

在文件 QChatChannelMuteParam.java198 行定义.

void com.netease.nimlib.sdk.qchat.param.QChatChannelMuteParam.setServerId ( long  serverId)

设置服务器id

参数
serverId服务器id

在文件 QChatChannelMuteParam.java108 行定义.


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