setDeviceToken

public final static Unit setDeviceToken(Context context, String registrationIdToken, NotificationProvider notificationProvider, PingOne.PingOneSetDeviceTokenCallback callback)

Sets device remote notification token.

Parameters

context

The context of the calling application.

registrationIdToken

The registration token String retrieved from the notification provider.

notificationProvider

{@link NotificationProvider}. If set to null default provider is FCM.

callback

{@link PingOneSDKCallback} notifies about a completion.