Rate this page:

RegisterPushTokenCallback

This API is in beta and subject to change.

Interface that the application implements to receive the result of push token registration.

Methods

onSuccess

Copy URL
fun onSuccess(): 

Unit

This API is in beta and subject to change.

Reports that the requested operation is completed successfully.

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(error: 

PushTokenError

):

Unit

This API is in beta and subject to change.

Reports that the requested operation is failed.

Parameters

Returns

  • type:

    Unit