Enum SubscriptionSet.State
On this page
io.realm.mongodb.sync
Enclosing class:
The possible states a subscription set can be in.
Enum Constant Summary
Enum Constant and Description |
---|
A subscription set was accepted by the server and initial data is being sent to the device. |
A subscription set is actively synchronizing data between the server and the device. |
An error occurred in the subscription set or one of the subscriptions. |
A subscription set has been modified locally, but is still waiting to be sent to the server. |
Another subscription set was stored before this one, the changes made to this set are ignorde by the server. |
The initial state of subscriptions when opening a new Realm or when entering a update(UpdateCallback). |
Method Summary
Modifier and Type | Method and Description |
---|---|
public static SubscriptionSet.State | |
public static SubscriptionSet.State | |
public static SubscriptionSet.State | values () |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass
,hashCode
,equals
,clone
,toString
,notify
,notifyAll
,wait
,wait
,wait
,finalize
Methods inherited from class java.lang.Enum :
name
,ordinal
,toString
,equals
,hashCode
,clone
,compareTo
,getDeclaringClass
,valueOf
,finalize
Enum Constant Detail
BOOTSTRAPPING
public static final SubscriptionSet.State
A subscription set was accepted by the server and initial data is being sent to the device.
COMPLETE
public static final SubscriptionSet.State
A subscription set is actively synchronizing data between the server and the device.
ERROR
public static final SubscriptionSet.State
An error occurred in the subscription set or one of the subscriptions. The cause is found in getErrorMessage().
PENDING
public static final SubscriptionSet.State
A subscription set has been modified locally, but is still waiting to be sent to the server.
SUPERSEDED
public static final SubscriptionSet.State
Another subscription set was stored before this one, the changes made to this set are ignorde by the server. Get the latest subscription set by calling Realm.getSubscriptions().
UNCOMMITTED
public static final SubscriptionSet.State
The initial state of subscriptions when opening a new Realm or when entering a update(UpdateCallback).
Method Detail
fromNativeValue
valueOf
values
public static SubscriptionSet.State values () |
---|