-
- All Implemented Interfaces:
-
com.clevertap.android.sdk.pushnotification.fcm.INotificationBundleManipulation
public final class FcmNotificationBundleManipulation implements INotificationBundleManipulation<RemoteMessage>
Class responsible for manipulating the FCM notification bundle.
-
-
Constructor Summary
Constructors Constructor Description FcmNotificationBundleManipulation(Bundle messageBundle)
-
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 . Bundlebuild()Builds and returns the manipulated FCM notification bundle. -
-
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.
-
-
-
-