processRemoteNotification

public final static Unit 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 final static Unit 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


@Deprecated(message = "use processRemoteNotification(Context context, RemoteMessage remoteMessage, PingOneNotificationCallback callback) instead")
public final static Unit processRemoteNotification(RemoteMessage remoteMessage, PingOne.PingOneNotificationCallback callback)

Deprecated

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

Processes the remote notification received from PingOne

Parameters

remoteMessage

a remote message retrieved from FCM

callback

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