Package io.realm

Enum OrderedCollectionChangeSet.State

    • Enum Constant Detail

      • INITIAL

        public static final OrderedCollectionChangeSet.State INITIAL
        This state is used first time the callback is invoked. The query will have completed and data is ready for the UI.
      • ERROR

        public static final OrderedCollectionChangeSet.State ERROR
        This state is used if some error occurred on the background evaluating the query.

        For local and fully synchronized Realms, this state should only be encountered if the Realm could not be succesfully opened in the background,.

    • Method Detail

      • values

        public static OrderedCollectionChangeSet.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OrderedCollectionChangeSet.State c : OrderedCollectionChangeSet.State.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OrderedCollectionChangeSet.State valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null