Enum Class GenerateOfflineMapParameters.OnlineOnlyServicesOption

java.lang.Object
java.lang.Enum<GenerateOfflineMapParameters.OnlineOnlyServicesOption>
com.esri.arcgisruntime.tasks.offlinemap.GenerateOfflineMapParameters.OnlineOnlyServicesOption
All Implemented Interfaces:
Serializable, Comparable<GenerateOfflineMapParameters.OnlineOnlyServicesOption>, Constable
Enclosing class:
GenerateOfflineMapParameters

public static enum GenerateOfflineMapParameters.OnlineOnlyServicesOption extends Enum<GenerateOfflineMapParameters.OnlineOnlyServicesOption>
Enumerates the possible options for dealing with online-only services (those which cannot be taken offline).
Since:
100.9.0
  • Enum Constant Details

    • EXCLUDE

      Online layers and tables that cannot be taken offline will be excluded when taking a map offline.
      Since:
      100.9.0
    • INCLUDE

      Online layers and tables that cannot be taken offline will be included when taking a map offline and continue to reference the online service.
      Since:
      100.9.0
    • USE_AUTHORED_SETTINGS

      public static final GenerateOfflineMapParameters.OnlineOnlyServicesOption USE_AUTHORED_SETTINGS
      The given layer or table will be taken offline, included as online content, or excluded according to the settings in the web map.

      When a web map is created, the author has the option to pre-select which layers should remain online. This can include:

      • Choosing to leave offline-enabled layers online (for example because they contain data that is frequently updated).
      • Choosing whether online-only layers should be included in the offline map or not.
      If no settings are provided in the web map, the default behavior will be to omit any online only layers or tables from the offline map. This matches the EXCLUDE option.
      Since:
      100.10.0
  • Method Details

    • 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

      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