NIMSDK-AOS  9.15.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.msg.NotificationChannelProvider接口 参考

Public 成员函数

String getChannelId (boolean donNotDisturb, boolean tooFast, boolean ring, boolean vibrate)
 弹出通知前获取通道ID的回调 更多...
 

详细描述

在文件 NotificationChannelProvider.java3 行定义.

成员函数说明

◆ getChannelId()

String com.netease.nimlib.sdk.msg.NotificationChannelProvider.getChannelId ( boolean  donNotDisturb,
boolean  tooFast,
boolean  ring,
boolean  vibrate 
)

弹出通知前获取通道ID的回调

参数
donNotDisturb免打扰开启,而且收到的不是强推消息
tooFast两次通知间间隔短
ring是否响铃
vibrate是否振动
返回
通道ID,如果返回""或者null,则使用默认通道

该接口的文档由以下文件生成: