NIMSDK-AOS
10.4.0-beta
载入中...
搜索中...
未找到
basesdk
src
com
netease
nimlib
sdk
StatusBarNotificationFilter.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk;
2
3
import
com.netease.nimlib.sdk.msg.model.IMMessage;
4
5
// 弹StatusBarNotification之前,SDK通过改接口询问App,根据App返回结果决定是否弹出通知
6
// 返回 PERMIT 弹出通知;返回 DENY 不弹通知;优先级高于SDK策略
7
// 返回 DEFAULT,由SDK策略决定是否弹出通知
8
public
interface
StatusBarNotificationFilter
{
9
enum
FilterPolicy
{
10
PERMIT
,
11
DEFAULT
,
12
DENY
,
13
}
14
15
FilterPolicy
apply
(
IMMessage
imMessage);
16
}
com.netease.nimlib.sdk.StatusBarNotificationFilter.FilterPolicy
Definition:
StatusBarNotificationFilter.java:9
com.netease.nimlib.sdk.StatusBarNotificationFilter.FilterPolicy.DEFAULT
DEFAULT
Definition:
StatusBarNotificationFilter.java:11
com.netease.nimlib.sdk.StatusBarNotificationFilter.FilterPolicy.DENY
DENY
Definition:
StatusBarNotificationFilter.java:12
com.netease.nimlib.sdk.StatusBarNotificationFilter.FilterPolicy.PERMIT
PERMIT
Definition:
StatusBarNotificationFilter.java:10
com.netease.nimlib.sdk.StatusBarNotificationFilter
Definition:
StatusBarNotificationFilter.java:8
com.netease.nimlib.sdk.StatusBarNotificationFilter.apply
FilterPolicy apply(IMMessage imMessage)
com.netease.nimlib.sdk.msg.model.IMMessage
NIM消息实体数据结构。 第三方APP不要调用设置类接口,调用之后不会被持久化
Definition:
IMMessage.java:12
生成于 2024年 八月 21日 星期三 18:18:00 , 为 NIMSDK-AOS使用
1.9.5