Package 

Class UniqueOnly


  • 
    public final class UniqueOnly
    extends DeliveryMode
                        

    The subscription will receive the most recent state update when transitioning from locked to unlocked states (stopped -> started), only if the state has changed while locked. This will include the initial state as a state update.

    Likewise, when a MavericksView resubscribes after a configuration change the most recent update will only be emitted if the state has changed while locked.

    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueOnly(String subscriptionId)
    • Method Summary

      Modifier and Type Method Description
      String getSubscriptionId()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UniqueOnly

        UniqueOnly(String subscriptionId)
        Parameters:
        subscriptionId - A uniqueIdentifier for this subscription.