public final class BatchHms
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchHms.Push |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
BatchHms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
onMessageReceived(android.content.Context context,
com.huawei.hms.push.RemoteMessage remoteMessage)
Call this method in onMessageReceived() if you're implementing a custom HmsMessageService
|
static void |
onNewToken(android.content.Context context,
java.lang.String token)
Call this method in onNewToken() if you're implementing a custom HmsMessageService
|
public static final java.lang.String TAG
public static void onMessageReceived(android.content.Context context,
com.huawei.hms.push.RemoteMessage remoteMessage)
context - ContextremoteMessage - The Huawei messagepublic static void onNewToken(android.content.Context context,
java.lang.String token)
context - Contexttoken - New push token