Package 

Interface IPushSubscriptionObserver


  • 
    public interface IPushSubscriptionObserver
    
                        

    A 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 Unit onPushSubscriptionChange(PushSubscriptionChangedState state) Called when the subscription this change handler was added to, has changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.