Enum Class SyncModel

java.lang.Object
java.lang.Enum<SyncModel>
com.esri.arcgisruntime.data.SyncModel
All Implemented Interfaces:
Serializable, Comparable<SyncModel>, Constable

public enum SyncModel extends Enum<SyncModel>
Defines the various geodatabase sync models
  • Enum Constant Details

    • NONE

      public static final SyncModel NONE
      Sync model is not known and invalid
    • PER_GEODATABASE

      public static final SyncModel PER_GEODATABASE
      Layers within a geodatabase cannot be synchronized independently, the whole geodatabase must be synced. The sync operation and sync direction applies to all the layers in the geodatabase.
    • PER_LAYER

      public static final SyncModel PER_LAYER
      Layers within a geodatabase can be synchronized independently of one another. Any subset of the layers can be synchronized when running the sync operation. Also, each layer can independently choose its sync direction.
  • Method Details

    • values

      public static SyncModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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