NIMSDK-AOS  9.16.0
Public 属性 | 所有成员列表
com.netease.nimlib.sdk.msg.model.CustomNotificationConfig类 参考

消息的配置选项 更多...

类 com.netease.nimlib.sdk.msg.model.CustomNotificationConfig 继承关系图:

Public 属性

boolean enablePush = true
 该通知是否要消息提醒,如果为true,那么对方收到通知后,系统通知栏会有提醒。 默认为true 更多...
 
boolean enablePushNick = false
 该通知是否需要推送昵称(针对iOS客户端有效),如果为false,那么对方收到通知后,iOS端将不显示推送昵称。 默认为false 更多...
 
boolean enableUnreadCount = true
 该通知是否要计入未读数,如果为true,那么对方收到通知后,可以通过读取此配置项决定自己业务的未读计数变更。 默认为true 更多...
 

详细描述

消息的配置选项

在文件 CustomNotificationConfig.java8 行定义.

类成员变量说明

◆ enablePush

boolean com.netease.nimlib.sdk.msg.model.CustomNotificationConfig.enablePush = true

该通知是否要消息提醒,如果为true,那么对方收到通知后,系统通知栏会有提醒。 默认为true

在文件 CustomNotificationConfig.java14 行定义.

◆ enablePushNick

boolean com.netease.nimlib.sdk.msg.model.CustomNotificationConfig.enablePushNick = false

该通知是否需要推送昵称(针对iOS客户端有效),如果为false,那么对方收到通知后,iOS端将不显示推送昵称。 默认为false

在文件 CustomNotificationConfig.java20 行定义.

◆ enableUnreadCount

boolean com.netease.nimlib.sdk.msg.model.CustomNotificationConfig.enableUnreadCount = true

该通知是否要计入未读数,如果为true,那么对方收到通知后,可以通过读取此配置项决定自己业务的未读计数变更。 默认为true

在文件 CustomNotificationConfig.java26 行定义.


该类的文档由以下文件生成: