NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
NotificationFoldStyle.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk;
2
3
public
enum
NotificationFoldStyle
{
7
ALL
(0,
"all"
),
8
12
EXPAND
(1,
"expand"
),
13
17
CONTACT
(2,
"contact"
);
18
19
private
int
value;
20
private
String msg;
21
22
NotificationFoldStyle
(
int
value, String msg) {
23
this.value = value;
24
this.msg = msg;
25
}
26
27
public
int
getValue
() {
28
return
value;
29
}
30
31
public
String
getMsg
() {
32
return
msg;
33
}
34
35
public
static
NotificationFoldStyle
value
(
int
value) {
36
for
(
NotificationFoldStyle
v :
NotificationFoldStyle
.values()) {
37
if
(v.value == value) {
38
return
v;
39
}
40
}
41
return
ALL;
42
}
43
44
45
}
com.netease.nimlib.sdk.NotificationFoldStyle.getMsg
String getMsg()
Definition:
NotificationFoldStyle.java:31
com.netease.nimlib.sdk.NotificationFoldStyle
Definition:
NotificationFoldStyle.java:3
com.netease.nimlib.sdk.NotificationFoldStyle.CONTACT
CONTACT
将同一个会话下的消息折叠为一条通知,不同会话之间不折叠
Definition:
NotificationFoldStyle.java:17
com.netease.nimlib.sdk.NotificationFoldStyle.EXPAND
EXPAND
不折叠通知栏消息
Definition:
NotificationFoldStyle.java:12
com.netease.nimlib.sdk.NotificationFoldStyle.ALL
ALL
折叠所有通知栏消息为一条通知
Definition:
NotificationFoldStyle.java:7
com.netease.nimlib.sdk.NotificationFoldStyle.value
static NotificationFoldStyle value(int value)
Definition:
NotificationFoldStyle.java:35
com.netease.nimlib.sdk.NotificationFoldStyle.NotificationFoldStyle
NotificationFoldStyle(int value, String msg)
Definition:
NotificationFoldStyle.java:22
com.netease.nimlib.sdk.NotificationFoldStyle.getValue
int getValue()
Definition:
NotificationFoldStyle.java:27
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13