Listener

interface Listener

Functions

Link copied to clipboard
open fun onNewToken(token: String)

Called when push notification token is updated, or initialized first time

Link copied to clipboard

Called when notification is clicked

Link copied to clipboard
open fun onPayloadData(data: PayloadData)

Called when "Push Notification" data type message is available

Link copied to clipboard
open fun onPushNotification(title: String?, body: String?)

Called when "Push Notification" notification type message is received.