public static enum LocationManager.DisplayLocationResult extends java.lang.Enum<LocationManager.DisplayLocationResult>
| Enum Constant and Description |
|---|
LOCATION_NOT_FOUND
Location cannot be found.
|
LOCATION_OK
When the location is OK to be displayed.
|
| Modifier and Type | Method and Description |
|---|---|
static LocationManager.DisplayLocationResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationManager.DisplayLocationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationManager.DisplayLocationResult LOCATION_OK
public static final LocationManager.DisplayLocationResult LOCATION_NOT_FOUND
public static LocationManager.DisplayLocationResult[] values()
for (LocationManager.DisplayLocationResult c : LocationManager.DisplayLocationResult.values()) System.out.println(c);
public static LocationManager.DisplayLocationResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null