Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Enum SubscriptionSet.State

On this page

  • io.realm.mongodb.sync
  • Enum Constant Summary
  • Method Summary
  • Inherited Methods
  • Enum Constant Detail
  • BOOTSTRAPPING
  • COMPLETE
  • ERROR
  • PENDING
  • SUPERSEDED
  • UNCOMMITTED
  • Method Detail
  • fromNativeValue
  • valueOf
  • values
java.lang.Object
io.realm.mongodb.sync.SubscriptionSet.State

Enclosing class:

SubscriptionSet

The possible states a subscription set can be in.

Enum Constant and Description

BOOTSTRAPPING

A subscription set was accepted by the server and initial data is being sent to the device.

COMPLETE

A subscription set is actively synchronizing data between the server and the device.

ERROR

An error occurred in the subscription set or one of the subscriptions.

PENDING

A subscription set has been modified locally, but is still waiting to be sent to the server.

SUPERSEDED

Another subscription set was stored before this one, the changes made to this set are ignorde by the server.

UNCOMMITTED

The initial state of subscriptions when opening a new Realm or when entering a update(UpdateCallback).

Modifier and Type
Method and Description
public static SubscriptionSet.State
long value
)
public static SubscriptionSet.State
public static SubscriptionSet.State
  • 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

public static final SubscriptionSet.State

A subscription set was accepted by the server and initial data is being sent to the device.

public static final SubscriptionSet.State

A subscription set is actively synchronizing data between the server and the device.

public static final SubscriptionSet.State

An error occurred in the subscription set or one of the subscriptions. The cause is found in getErrorMessage().

public static final SubscriptionSet.State

A subscription set has been modified locally, but is still waiting to be sent to the server.

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().

public static final SubscriptionSet.State

The initial state of subscriptions when opening a new Realm or when entering a update(UpdateCallback).

long value
)
String name
)
public static SubscriptionSet.State values ()

Back

SubscriptionSet