Class OutboundMessagingService



  • public class OutboundMessagingService
    extends FirebaseMessagingService
    OutboundMessagingService handles incoming push notifications from Firebase.
    • Field Detail

      • TAG

        public static final java.lang.String TAG
    • Constructor Detail

      • OutboundMessagingService

        public OutboundMessagingService()
    • Method Detail

      • onMessageReceived

        public void onMessageReceived(RemoteMessage message)
      • onReceivedMessage

        public void onReceivedMessage(RemoteMessage message)
        Called when an unhandled non-Outbound notification is received. This method is recommended for custom handling of your own notifications.
        Parameters:
        message -
      • onNotificationReceived

        public void onNotificationReceived(PushNotification notification)
        Called after an Outbound notification is received. Called for ALL notifications whether they display or not. This method is recommended for handling any custom payload properties sent in the notification.
        Parameters:
        notification -
      • onNotificationDisplayed

        public void onNotificationDisplayed(PushNotification notification)
        Called after an Outbound notification is displayed. IS NOT called for silent notifications since they do not "display."
        Parameters:
        notification -
      • buildNotification

        public Notification buildNotification(PushNotification notification)
        Called to create a Notification from a PushNotification. This can be overridden to allow custom styling not provided by default through the SDK.
        Parameters:
        notification -