Enum OfflineUpdateAvailability
- java.lang.Object
-
- java.lang.Enum<OfflineUpdateAvailability>
-
- com.esri.arcgisruntime.tasks.offlinemap.OfflineUpdateAvailability
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OfflineUpdateAvailability>
public enum OfflineUpdateAvailability extends java.lang.Enum<OfflineUpdateAvailability>
Enumerates whether offline data has updates, has no updates, or that the availability of updates cannot be determined.- Since:
- 100.6.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLE
There are updates available.INDETERMINATE
It is not possible to determine whether updates are available, for example because the operation is not supported.NONE
There are no updates available.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OfflineUpdateAvailability
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OfflineUpdateAvailability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final OfflineUpdateAvailability AVAILABLE
There are updates available.- Since:
- 100.6.0
-
NONE
public static final OfflineUpdateAvailability NONE
There are no updates available.- Since:
- 100.6.0
-
INDETERMINATE
public static final OfflineUpdateAvailability INDETERMINATE
It is not possible to determine whether updates are available, for example because the operation is not supported.- Since:
- 100.6.0
-
-
Method Detail
-
values
public static OfflineUpdateAvailability[] 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 (OfflineUpdateAvailability c : OfflineUpdateAvailability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OfflineUpdateAvailability 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
-
-