|
NIMSDK-AOS
10.9.71
|
消息提醒文案定制 更多...
Public 成员函数 | |
| String | makeNotifyContent (final String nick, final IMMessage message) |
| 定制消息提醒(通知栏提醒)內容文案 主要在通知栏下拉后展现其通知内容:content=[nick:发来一条消息] 更多... | |
| String | makeTicker (final String nick, final IMMessage message) |
| 定制消息提醒(通知栏提醒)Ticker文案 主要在通知栏弹框提醒时的内容:ticker=[nick有新消息] 更多... | |
| String | makeRevokeMsgTip (String revokeAccount, IMMessage item) |
| 定制消息撤回提醒文案 更多... | |
| String | makeCategory (final IMMessage message) |
| 定制消息提醒(通知栏提醒)本地通知 Category 类型 更多... | |
消息提醒文案定制
在文件 MessageNotifierCustomization.java 第 10 行定义.
| String com.netease.nimlib.sdk.msg.MessageNotifierCustomization.makeCategory | ( | final IMMessage | message | ) |
定制消息提醒(通知栏提醒)本地通知 Category 类型
| message | 发来的消息 |
| String com.netease.nimlib.sdk.msg.MessageNotifierCustomization.makeNotifyContent | ( | final String | nick, |
| final IMMessage | message | ||
| ) |
定制消息提醒(通知栏提醒)內容文案 主要在通知栏下拉后展现其通知内容:content=[nick:发来一条消息]
| nick | 发送者昵称 |
| message | 发来的消息 |
在 com.netease.nimlib.sdk.msg.MessageNotifierCustomizationCompat 内被实现.
| String com.netease.nimlib.sdk.msg.MessageNotifierCustomization.makeRevokeMsgTip | ( | String | revokeAccount, |
| IMMessage | item | ||
| ) |
定制消息撤回提醒文案
| revokeAccount | 撤回操作者账号 |
| item | 被撤回的消息 |
| String com.netease.nimlib.sdk.msg.MessageNotifierCustomization.makeTicker | ( | final String | nick, |
| final IMMessage | message | ||
| ) |
定制消息提醒(通知栏提醒)Ticker文案 主要在通知栏弹框提醒时的内容:ticker=[nick有新消息]
| nick | 发送者昵称 |
| message | 发来的消息 |
在 com.netease.nimlib.sdk.msg.MessageNotifierCustomizationCompat 内被实现.
1.8.11