Interface PushAnalyticsReceiverCallback

    • 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.