Package com.mparticle.messaging
Interface PushAnalyticsReceiverCallback
-
- All Known Implementing Classes:
PushAnalyticsReceiver
public interface PushAnalyticsReceiverCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonNotificationReceived(ProviderCloudMessage message)Override this method to listen for when a notification has been received.booleanonNotificationTapped(ProviderCloudMessage message)Override this method to listen for when a notification has been tapped or acted on.
-
-
-
Method Detail
-
onNotificationReceived
boolean onNotificationReceived(ProviderCloudMessage message)
Override this method to listen for when a notification has been received.- Parameters:
message- The message that was received. Depending on the push provider- Returns:
- True if you would like to handle this notification, False if you would like the mParticle to generate and show a
Notification.
-
onNotificationTapped
boolean onNotificationTapped(ProviderCloudMessage message)
Override this method to listen for when a notification has been tapped or acted on.- Parameters:
message- The message that was tapped. Depending on the push provider- Returns:
- True if you would like to consume this tap/action, False if the mParticle SDK should attempt to handle it.
-
-