-
public interface IPushSubscriptionObserverA subscription changed handler. Implement this interface and provide the implementation to ISubscription.addObserver to be notified when the subscription has changed.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonPushSubscriptionChange(PushSubscriptionChangedState state)Called when the subscription this change handler was added to, has changed. -
-
Method Detail
-
onPushSubscriptionChange
abstract Unit onPushSubscriptionChange(PushSubscriptionChangedState state)
Called when the subscription this change handler was added to, has changed. A subscription can change either because of a change driven by the application, or by the backend.
- Parameters:
state- The subscription changed state.
-
-
-
-