Package com.sinch.android.rtc
Interface PushTokenRegistrationCallback
-
- All Implemented Interfaces:
public interface PushTokenRegistrationCallbackCallback for push token registration events.
Note: The callback will be called on the same thread as the SinchClient is instantiated on.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonPushTokenRegistered()Informs that the push token has been successfully registered on backend and the application is ready to receive incoming calls via push notification. abstract UnitonPushTokenRegistrationFailed(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
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.
-
-
-
-