NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
team
model
MuteMemberAttachment.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.team.model;
2
3
import
com
.
netease
.
nimlib
.util.JSONHelper;
4
5
import
org.json.JSONObject;
6
13
public
class
MuteMemberAttachment
extends
MemberChangeAttachment
{
14
15
public
static
final
String
TAG_MUTE
=
"mute"
;
16
17
private
boolean
mute;
18
19
@Override
20
public
void
parse
(JSONObject json) {
21
super.parse(json);
22
23
if
(json.has(TAG_MUTE)) {
24
mute = JSONHelper.getInt(json, TAG_MUTE) == 1;
25
}
26
}
27
28
public
boolean
isMute
() {
29
return
mute;
30
}
31
}
com.netease.nimlib.sdk.team.model.MuteMemberAttachment.isMute
boolean isMute()
Definition:
MuteMemberAttachment.java:28
com.netease
com
com.netease.nimlib.sdk.team.model.MuteMemberAttachment.parse
void parse(JSONObject json)
Definition:
MuteMemberAttachment.java:20
com.netease.nimlib.sdk.team.model.MemberChangeAttachment
群成员变动的通知消息实体。包括群成员变化和管理权限变化。 所有类型的变动,操作者均为消息的fromAccount...
Definition:
MemberChangeAttachment.java:31
com.netease.nimlib.sdk.team.model.MuteMemberAttachment
群成员被禁言或者被取消禁言的通知消息实体。 具体通知类型为:
Definition:
MuteMemberAttachment.java:13
com.netease.nimlib.sdk.team.model.MuteMemberAttachment.TAG_MUTE
static final String TAG_MUTE
Definition:
MuteMemberAttachment.java:15
com.netease.nimlib
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13