Enum PreplannedPackagingStatus
- java.lang.Object
-
- java.lang.Enum<PreplannedPackagingStatus>
-
- com.esri.arcgisruntime.tasks.offlinemap.PreplannedPackagingStatus
-
- All Implemented Interfaces:
Serializable,Comparable<PreplannedPackagingStatus>
public enum PreplannedPackagingStatus extends Enum<PreplannedPackagingStatus>
Enumerates the different packaging states that an onlinePreplannedMapAreacan be in. APreplannedMapAreais made up of a set of data packages for each of the layers in the map. When a web map author first creates a map area these packages must be prepared by the relevant online services before the area is ready to be downloaded as an offline map. PreplannedPackagingStatus lists the possible packaging states for an online map area. The area cannot be downloaded until the value isCOMPLETE.- Since:
- 100.9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEIndicates that packaging is complete and thePreplannedMapAreais ready to be downloaded.FAILEDIndicates that a failure occurred when creating the packages for thePreplannedMapArea.PROCESSINGIndicates that thePreplannedMapAreais not yet ready for download.UNKNOWNIndicates that the packaging status of thePreplannedMapAreais unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreplannedPackagingStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static PreplannedPackagingStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PreplannedPackagingStatus UNKNOWN
Indicates that the packaging status of thePreplannedMapAreais unknown. This status is returned when your app does not yet know the status of the online area. For example, this would be the case when thePreplannedMapAreahas a load status ofLoadStatus.NOT_LOADED.- Since:
- 100.9.0
-
PROCESSING
public static final PreplannedPackagingStatus PROCESSING
Indicates that thePreplannedMapAreais not yet ready for download. This is the initial status for aPreplannedMapAreathat has been created on the web map, but is not yet ready for download.- Since:
- 100.9.0
-
FAILED
public static final PreplannedPackagingStatus FAILED
Indicates that a failure occurred when creating the packages for thePreplannedMapArea. This status means that thePreplannedMapAreacannot be downloaded. Failures encountered while creating packages need to be addressed by the web map author.- Since:
- 100.9.0
-
COMPLETE
public static final PreplannedPackagingStatus COMPLETE
Indicates that packaging is complete and thePreplannedMapAreais ready to be downloaded. This status means that all packages required to download thePreplannedMapAreahave been successfully prepared.- Since:
- 100.9.0
-
-
Method Detail
-
values
public static PreplannedPackagingStatus[] 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 (PreplannedPackagingStatus c : PreplannedPackagingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreplannedPackagingStatus 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-