public static interface KitIntegration.PushListener
| Modifier and Type | Method and Description |
|---|---|
void |
onPushMessageReceived(android.content.Context context,
android.content.Intent pushIntent)
If a Kit returns true from
willHandlePushMessage(Intent), this method will be called immediately after. |
boolean |
onPushRegistration(java.lang.String instanceId,
java.lang.String senderId)
This method will be called when the mParticle SDK successfully registers to receive
push messages.
|
boolean |
willHandlePushMessage(android.content.Intent intent)
Kits must implement this method to inspect a push message to determine if it's intended for their
SDK.
|
boolean willHandlePushMessage(android.content.Intent intent)
intent - the Intent object from the push-received broadcastvoid onPushMessageReceived(android.content.Context context,
android.content.Intent pushIntent)
willHandlePushMessage(Intent), this method will be called immediately after.
Kits should implement this method to show or otherwise react to a received push message.context - pushIntent - boolean onPushRegistration(java.lang.String instanceId,
java.lang.String senderId)
instanceId - the device instance ID registered with the GCM scopesenderId - the senderid with permissions for this instanceId