Package

## Interface PushTokenRegistrationCallback

- All Implemented Interfaces:

      public interface PushTokenRegistrationCallback

  Callback for push token registration events.

  Note: The callback will be called on the same thread as the SinchClient is instantiated on.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Unit` | `onPushTokenRegistered()` | Informs that the push token has been successfully registered on backend and the application is ready to receive incoming calls via push notification.
    `abstract Unit` | `onPushTokenRegistrationFailed(SinchError error)` | Informs that the push token registration failed and the application will not be able to receive incoming calls via push notification.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### onPushTokenRegistered

           abstract Unit onPushTokenRegistered()

      Informs that the push token has been successfully registered on backend and the application is ready to receive incoming calls via push notification.

    - #### onPushTokenRegistrationFailed

           abstract Unit onPushTokenRegistrationFailed(SinchError error)

      Informs that the push token registration failed and the application will not be able to receive incoming calls via push notification.

      Parameters:
        `error` - SinchError object that describes the problem.