public static enum OrderedCollectionChangeSet.State extends Enum<OrderedCollectionChangeSet.State>
Enum Constant and Description |
---|
ERROR
This state is used if some error occurred on the background evaluating the query.
|
INITIAL
This state is used first time the callback is invoked.
|
UPDATE
This state is used for every subsequent update after the first.
|
Modifier and Type | Method and Description |
---|---|
static OrderedCollectionChangeSet.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderedCollectionChangeSet.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderedCollectionChangeSet.State INITIAL
public static final OrderedCollectionChangeSet.State UPDATE
public static final OrderedCollectionChangeSet.State ERROR
For local and fully synchronized Realms, this state should only be encountered if the Realm could not be succesfully opened in the background,.
public static OrderedCollectionChangeSet.State[] values()
for (OrderedCollectionChangeSet.State c : OrderedCollectionChangeSet.State.values()) System.out.println(c);
public static OrderedCollectionChangeSet.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null