logPushNotification

public void logPushNotification(    @Nullable() String title,     @Nullable() String body,     @Nullable() String topic,     @Nullable() String id,     @Nullable() Integer notificationPriority,     @NotNull() Integer messageDeliveredPriority,     @NotNull() Boolean isNotification,     @NotNull() Boolean hasData)

Saves captured push notification information into session payload

Parameters

title

the title of the notification as a string (or null)

body

the body of the notification as a string (or null)

topic

the notification topic (if a user subscribed to one), or null

id

A unique ID identifying the message

notificationPriority

the notificationPriority of the message (as resolved on the device)

messageDeliveredPriority

the priority of the message (as resolved on the server)

isNotification

if it is a notification message.

hasData

if the message contains payload data.


public void logPushNotification(    @Nullable() String title,     @Nullable() String body,     @Nullable() String topic,     @Nullable() String id,     @Nullable() Integer notificationPriority,     @NotNull() Integer messageDeliveredPriority,     @NotNull() PushNotificationBreadcrumb.NotificationType notificationType)

Saves captured push notification information into session payload

Parameters

title

the title of the notification as a string (or null)

body

the body of the notification as a string (or null)

topic

the notification topic (if a user subscribed to one), or null

id

A unique ID identifying the message

notificationPriority

the notificationPriority (as resolved on the device)

messageDeliveredPriority

the priority of the message (as resolved on the server)

notificationType

the type of the push notification