Enum GenerateOfflineMapParameters.OnlineOnlyServicesOption
- java.lang.Object
-
- java.lang.Enum<GenerateOfflineMapParameters.OnlineOnlyServicesOption>
-
- com.esri.arcgisruntime.tasks.offlinemap.GenerateOfflineMapParameters.OnlineOnlyServicesOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GenerateOfflineMapParameters.OnlineOnlyServicesOption>
- Enclosing class:
- GenerateOfflineMapParameters
public static enum GenerateOfflineMapParameters.OnlineOnlyServicesOption extends java.lang.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 Summary
Enum Constants Enum Constant Description EXCLUDE
Online layers and tables that cannot be taken offline will be excluded when taking a map offline.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.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenerateOfflineMapParameters.OnlineOnlyServicesOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GenerateOfflineMapParameters.OnlineOnlyServicesOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCLUDE
public static final GenerateOfflineMapParameters.OnlineOnlyServicesOption EXCLUDE
Online layers and tables that cannot be taken offline will be excluded when taking a map offline.- Since:
- 100.9.0
-
INCLUDE
public static final GenerateOfflineMapParameters.OnlineOnlyServicesOption 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.
EXCLUDE
option.- Since:
- 100.10.0
-
-
Method Detail
-
values
public static GenerateOfflineMapParameters.OnlineOnlyServicesOption[] 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 (GenerateOfflineMapParameters.OnlineOnlyServicesOption c : GenerateOfflineMapParameters.OnlineOnlyServicesOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenerateOfflineMapParameters.OnlineOnlyServicesOption valueOf(java.lang.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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-