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 onlinePreplannedMapArea
can be in. APreplannedMapArea
is 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 COMPLETE
Indicates that packaging is complete and thePreplannedMapArea
is ready to be downloaded.FAILED
Indicates that a failure occurred when creating the packages for thePreplannedMapArea
.PROCESSING
Indicates that thePreplannedMapArea
is not yet ready for download.UNKNOWN
Indicates that the packaging status of thePreplannedMapArea
is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreplannedPackagingStatus
valueOf(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 thePreplannedMapArea
is 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 thePreplannedMapArea
has a load status ofLoadStatus.NOT_LOADED
.- Since:
- 100.9.0
-
PROCESSING
public static final PreplannedPackagingStatus PROCESSING
Indicates that thePreplannedMapArea
is not yet ready for download. This is the initial status for aPreplannedMapArea
that 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 thePreplannedMapArea
cannot 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 thePreplannedMapArea
is ready to be downloaded. This status means that all packages required to download thePreplannedMapArea
have 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
-
-