Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.location
Enum Class LocationDataSource.Status
- All Implemented Interfaces:
Serializable
,Comparable<LocationDataSource.Status>
,Constable
- Enclosing class:
LocationDataSource
The enumeration of possible LocationDataSource statuses.
- Since:
- 100.9.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe LocationDataSource has failed to start.The LocationDataSource has started.The LocationDataSource is starting.The LocationDataSource is stopped.The LocationDataSource is stopping. -
Method Summary
Modifier and TypeMethodDescriptionstatic LocationDataSource.Status
Returns the enum constant of this class with the specified name.static LocationDataSource.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STOPPED
The LocationDataSource is stopped.- Since:
- 100.9.0
-
STARTING
The LocationDataSource is starting.- Since:
- 100.9.0
-
STARTED
The LocationDataSource has started.- Since:
- 100.9.0
-
STOPPING
The LocationDataSource is stopping.- Since:
- 100.14.0
-
FAILED_TO_START
The LocationDataSource has failed to start. The error can be retrieved fromLocationDataSource.getError()
.- Since:
- 100.9.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 nameNullPointerException
- if the argument is null
-