processRemoteNotification

public static void processRemoteNotification(Context context, RemoteMessage remoteMessage, PingOne.PingOneNotificationCallback callback)

Processes the FCM remote notification received from the PingOne server.

Parameters

remoteMessage

A remote message retrieved from the FCM.

callback

PingOneNotificationCallback is triggered upon completion of the flow. Will return NotificationObject if process completed successfully or PingOneSDKError otherwise.


public static void processRemoteNotification(Context context, String messageData, PingOne.PingOneNotificationCallback callback)

Process the HMS remote notification received from the PingOne server.

Parameters

messageData

A message data retrieved from HMS notification provider as a String.

callback

PingOneNotificationCallback is triggered upon completion of the flow. Will return NotificationObject if the process completed successfully or PingOneSDKError otherwise


public static void processRemoteNotification(RemoteMessage remoteMessage, PingOne.PingOneNotificationCallback callback)

Deprecated

Processes the remote notification received from PingOne

Deprecated

please use processRemoteNotification(Context context, RemoteMessage remoteMessage, PingOneNotificationCallback callback) instead

Parameters

remoteMessage

a remote message retrieved from FCM

callback

PingOneNotificationCallback notifies about task completion. Will return NotificationObject if process completed successfully or PingOneSDKError otherwise