-
- All Implemented Interfaces:
-
com.clevertap.android.sdk.interfaces.ActionButtonClickHandler,com.clevertap.android.sdk.interfaces.NotificationHandler
public class PushNotificationHandler implements ActionButtonClickHandler
-
-
Method Summary
Modifier and Type Method Description static NotificationHandlergetPushNotificationHandler()static booleanisForPushTemplates(Bundle extras)booleanonActionButtonClick(Context context, Bundle extras, int notificationId)synchronized booleanonMessageReceived(Context applicationContext, Bundle message, String pushType)booleanonNewToken(Context applicationContext, String token, PushType pushType)-
Methods inherited from class com.clevertap.android.sdk.interfaces.ActionButtonClickHandler
onActionButtonClick -
Methods inherited from class com.clevertap.android.sdk.interfaces.NotificationHandler
onMessageReceived, onNewToken -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPushNotificationHandler
static NotificationHandler getPushNotificationHandler()
-
isForPushTemplates
static boolean isForPushTemplates(Bundle extras)
-
onActionButtonClick
boolean onActionButtonClick(Context context, Bundle extras, int notificationId)
-
onMessageReceived
synchronized boolean onMessageReceived(Context applicationContext, Bundle message, String pushType)
- Parameters:
applicationContext- - application contextmessage- - notification message from cloud messaging owners
-
onNewToken
boolean onNewToken(Context applicationContext, String token, PushType pushType)
- Parameters:
applicationContext- - application contexttoken- - token received from cloud messaging owners
-
-
-
-