NIMSDK-AOS  9.19.0
VivoPushMessageReceiver.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.mixpush;
2 
3 import android.content.BroadcastReceiver;
4 import android.content.Context;
5 import android.content.Intent;
6 
7 import com.vivo.push.model.UPSNotificationMessage;
8 import com.vivo.push.model.UnvarnishedMessage;
9 
10 /**
11  * 以下这些方法运行在非 UI 线程中, 与Vivo的OpenClientPushMessageReceiver 方法一一对应。
12  * 当开发者自身也接入Vivo推送,则应将继承 OpenClientPushMessageReceiver 改为继承 VivoPushMessageReceiver,其他不变
13  *
14  * Created by hzsunyj on 2019/3/19.
15  */
16 public class VivoPushMessageReceiver extends BroadcastReceiver {
17 
18  @Override
19  public void onReceive(Context context, Intent intent) {
20  }
21 
22  public void onNotificationMessageClicked(Context context, UPSNotificationMessage upsNotificationMessage) {
23  }
24 
25  public void onTransmissionMessage(Context context, UnvarnishedMessage unvarnishedMessage) {
26  }
27 
28  public void onReceiveRegId(Context context, String s) {
29  }
30 }
void onNotificationMessageClicked(Context context, UPSNotificationMessage upsNotificationMessage)
以下这些方法运行在非 UI 线程中, 与Vivo的OpenClientPushMessageReceiver 方法一一对应。 当开发者自身也接...
void onTransmissionMessage(Context context, UnvarnishedMessage unvarnishedMessage)