-
- All Implemented Interfaces:
public class NotificationUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static NotificationUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetApptentivePushNotificationData(Intent intent)final StringgetApptentivePushNotificationData(Bundle pushBundle)This bundle could be any bundle sent to us by a push Intent from any supported platform. final StringgetApptentivePushNotificationData(Map<String, String> pushData)final PendingIntentgeneratePendingIntentFromApptentivePushData(Context context, ApptentiveDefaultClient client, String apptentivePushData)-
-
Method Detail
-
getApptentivePushNotificationData
final String getApptentivePushNotificationData(Intent intent)
-
getApptentivePushNotificationData
final String getApptentivePushNotificationData(Bundle pushBundle)
This bundle could be any bundle sent to us by a push Intent from any supported platform. For that reason, it needs to be checked in multiple ways.
- Parameters:
pushBundle- a Bundle, ornull.
-
getApptentivePushNotificationData
final String getApptentivePushNotificationData(Map<String, String> pushData)
-
generatePendingIntentFromApptentivePushData
final PendingIntent generatePendingIntentFromApptentivePushData(Context context, ApptentiveDefaultClient client, String apptentivePushData)
-
-
-
-