Interface PushTokenRegistrationCallback

  • All Known Subinterfaces:
    SinchClientListener

    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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onPushTokenRegistered()
      Informs that the push token has been successfully registered on backend and the application is ready to receive incoming calls via push notification.
      void onPushTokenRegistrationFailed​(SinchError error)
      Informs that the push token registration failed and the application will not be able to receive incoming calls via push notification.
    • Method Detail

      • onPushTokenRegistered

        void 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

        void 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.