NIMSDK-AOS
10.6.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
enums
QChatRoleOption.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.enums;
2
3
import
android.text.TextUtils;
4
8
public
enum
QChatRoleOption
{
12
ALLOW
(1),
16
DENY
(-1),
20
INHERIT
(0),
21
;
22
23
private
int
value;
24
25
QChatRoleOption
(
int
value) {
26
this.value = value;
27
}
28
29
public
int
getValue
() {
30
return
value;
31
}
32
33
public
static
QChatRoleOption
typeOfValue
(
int
value) {
34
for
(
QChatRoleOption
e : values()) {
35
if
(e.getValue() == value) {
36
return
e;
37
}
38
}
39
return
null;
40
}
41
42
public
static
QChatRoleOption
typeOfName
(String name) {
43
for
(
QChatRoleOption
e : values()) {
44
if
(TextUtils.equals(e.name(), name)) {
45
return
e;
46
}
47
}
48
return
null;
49
}
50
}
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.DENY
DENY
无权限
Definition:
QChatRoleOption.java:16
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.ALLOW
ALLOW
有权限
Definition:
QChatRoleOption.java:12
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption
身份组权限选项
Definition:
QChatRoleOption.java:8
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.typeOfValue
static QChatRoleOption typeOfValue(int value)
Definition:
QChatRoleOption.java:33
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.getValue
int getValue()
Definition:
QChatRoleOption.java:29
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.QChatRoleOption
QChatRoleOption(int value)
Definition:
QChatRoleOption.java:25
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.typeOfName
static QChatRoleOption typeOfName(String name)
Definition:
QChatRoleOption.java:42
com.netease.nimlib.sdk.qchat.enums.QChatRoleOption.INHERIT
INHERIT
继承
Definition:
QChatRoleOption.java:20
生成于 2024年 十一月 19日 星期二 20:07:50 , 为 NIMSDK-AOS使用
1.8.13