Package com.batch.android
Class BatchPushHelper
- java.lang.Object
-
- com.batch.android.BatchPushHelper
-
public class BatchPushHelper extends java.lang.ObjectSet of helper methods shared betweenBatchPushNotificationPresenterand methods exposed to devs via the push module
-
-
Constructor Summary
Constructors Constructor Description BatchPushHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static android.os.BundlefirebaseMessageToReceiverBundle(com.google.firebase.messaging.RemoteMessage message)Convert a Firebase RemoteMessage to a bundle, for compatibility with all the methods that used to deal with a BroadcastReceiver started by GCMstatic booleanisPushValid(android.content.Context context, InternalPushData batchData)Internal methodstatic voidmarkPushAsShown(android.content.Context context, java.lang.String pushId)Internal method
-
-
-
Method Detail
-
isPushValid
public static boolean isPushValid(android.content.Context context, InternalPushData batchData)Internal method
-
markPushAsShown
public static void markPushAsShown(android.content.Context context, java.lang.String pushId)Internal method
-
firebaseMessageToReceiverBundle
@Nullable public static android.os.Bundle firebaseMessageToReceiverBundle(@Nullable com.google.firebase.messaging.RemoteMessage message)Convert a Firebase RemoteMessage to a bundle, for compatibility with all the methods that used to deal with a BroadcastReceiver started by GCM
-
-