NIMSDK-AOS
9.19.0
|
以下这些方法运行在非 UI 线程中, 与魅族 SDK 的 MzPushMessageReceiver 方法一一对应。 当开发者自身也接入魅族推送,则应将继承 MzPushMessageReceiver 改为继承 MeiZuPushReceiver,其他不变 更多...
Public 成员函数 | |
final void | onReceive (Context context, Intent intent) |
void | onRegister (Context context, String pushId) |
void | onUnRegister (Context context, boolean success) |
void | onPushStatus (Context context, PushSwitchStatus pushSwitchStatus) |
void | onRegisterStatus (Context context, RegisterStatus registerStatus) |
void | onUnRegisterStatus (Context context, UnRegisterStatus unRegisterStatus) |
void | onSubTagsStatus (Context context, SubTagsStatus subTagsStatus) |
void | onSubAliasStatus (Context context, SubAliasStatus subAliasStatus) |
void | onNotificationClicked (Context context, MzPushMessage mzPushMessage) |
void | onNotificationArrived (Context context, MzPushMessage mzPushMessage) |
void | onNotifyMessageArrived (Context context, String message) |
void | onNotificationDeleted (Context context, MzPushMessage mzPushMessage) |
void | onUpdateNotificationBuilder (PushNotificationBuilder pushNotificationBuilder) |
void | onMessage (Context context, String s) |
void | onMessage (Context context, Intent intent) |
void | onMessage (Context context, String s, String s1) |
以下这些方法运行在非 UI 线程中, 与魅族 SDK 的 MzPushMessageReceiver 方法一一对应。 当开发者自身也接入魅族推送,则应将继承 MzPushMessageReceiver 改为继承 MeiZuPushReceiver,其他不变
在文件 MeiZuPushReceiver.java 第 20 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onMessage | ( | Context | context, |
String | s | ||
) |
在文件 MeiZuPushReceiver.java 第 62 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onMessage | ( | Context | context, |
Intent | intent | ||
) |
在文件 MeiZuPushReceiver.java 第 66 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onMessage | ( | Context | context, |
String | s, | ||
String | s1 | ||
) |
在文件 MeiZuPushReceiver.java 第 70 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onNotificationArrived | ( | Context | context, |
MzPushMessage | mzPushMessage | ||
) |
在文件 MeiZuPushReceiver.java 第 50 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onNotificationClicked | ( | Context | context, |
MzPushMessage | mzPushMessage | ||
) |
在文件 MeiZuPushReceiver.java 第 47 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onNotificationDeleted | ( | Context | context, |
MzPushMessage | mzPushMessage | ||
) |
在文件 MeiZuPushReceiver.java 第 56 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onNotifyMessageArrived | ( | Context | context, |
String | message | ||
) |
在文件 MeiZuPushReceiver.java 第 53 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onPushStatus | ( | Context | context, |
PushSwitchStatus | pushSwitchStatus | ||
) |
在文件 MeiZuPushReceiver.java 第 32 行定义.
final void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onReceive | ( | Context | context, |
Intent | intent | ||
) |
在文件 MeiZuPushReceiver.java 第 23 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onRegister | ( | Context | context, |
String | pushId | ||
) |
在文件 MeiZuPushReceiver.java 第 26 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onRegisterStatus | ( | Context | context, |
RegisterStatus | registerStatus | ||
) |
在文件 MeiZuPushReceiver.java 第 35 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onSubAliasStatus | ( | Context | context, |
SubAliasStatus | subAliasStatus | ||
) |
在文件 MeiZuPushReceiver.java 第 44 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onSubTagsStatus | ( | Context | context, |
SubTagsStatus | subTagsStatus | ||
) |
在文件 MeiZuPushReceiver.java 第 41 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onUnRegister | ( | Context | context, |
boolean | success | ||
) |
在文件 MeiZuPushReceiver.java 第 29 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onUnRegisterStatus | ( | Context | context, |
UnRegisterStatus | unRegisterStatus | ||
) |
在文件 MeiZuPushReceiver.java 第 38 行定义.
void com.netease.nimlib.sdk.mixpush.MeiZuPushReceiver.onUpdateNotificationBuilder | ( | PushNotificationBuilder | pushNotificationBuilder | ) |
在文件 MeiZuPushReceiver.java 第 59 行定义.