Package 

Class FcmNotificationBundleManipulation

    • Method Summary

      Modifier and Type Method Description
      INotificationBundleManipulation<RemoteMessage> addPriority(RemoteMessage message) Adds the priority to the FCM notification bundle if the original priority and the current priority of the message are different .
      Bundle build() Builds and returns the manipulated FCM notification bundle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FcmNotificationBundleManipulation

        FcmNotificationBundleManipulation(Bundle messageBundle)
        Parameters:
        messageBundle - The bundle containing the FCM notification data.
    • Method Detail

      • addPriority

         INotificationBundleManipulation<RemoteMessage> addPriority(RemoteMessage message)

        Adds the priority to the FCM notification bundle if the original priority and the current priority of the message are different .

        Parameters:
        message - The remote message containing the original priority and updated priority.
      • build

         Bundle build()

        Builds and returns the manipulated FCM notification bundle.