-
public interface CustomerIOPushNotificationCallback
-
-
Method Summary
Modifier and Type Method Description TaskStackBuildercreateTaskStackFromPayload(Context context, CustomerIOParsedPushPayload payload)Callback to notify host app when deeplink click action is performed. UnitonNotificationComposed(CustomerIOParsedPushPayload payload, NotificationCompat.Builder builder)Called when all attributes for the notification has been set by the SDK and the notification is about to be pushed to system tray. -
-
Method Detail
-
createTaskStackFromPayload
TaskStackBuilder createTaskStackFromPayload(Context context, CustomerIOParsedPushPayload payload)
Callback to notify host app when deeplink click action is performed.
- Parameters:
context- reference to application contextpayload- data received for the notification
-
onNotificationComposed
Unit onNotificationComposed(CustomerIOParsedPushPayload payload, NotificationCompat.Builder builder)
Called when all attributes for the notification has been set by the SDK and the notification is about to be pushed to system tray.
<p/> Please note that overriding the pending intent for notification is not allowed as it can affect tracking and other metrics. Please override [createTaskStackFromPayload] instead to launch desired intent(s). <p/>- Parameters:
payload- data received for the notificationbuilder- notification builder that is being used to build notification attributes
-
-
-
-