public static enum PlaceManager.LocationError extends java.lang.Enum<PlaceManager.LocationError>
| Enum Constant and Description |
|---|
LOCATION_PERMISSION_DENIED
The location permissions are denied.
|
LOCATION_SERVICES_DISABLED
The location could not be retrieved because location services are not enabled.
|
LOCATION_TIMEOUT
The location could be retrieved within the allotted amount of time.
|
UNKNOWN_ERROR
An unknown error occurred.
|
| Modifier and Type | Method and Description |
|---|---|
static PlaceManager.LocationError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlaceManager.LocationError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaceManager.LocationError LOCATION_PERMISSION_DENIED
"android.permission.ACCESS_FINE_LOCATION" or "android.permission.ACCESS_COARSE_LOCATION" to retrieve the current location.public static final PlaceManager.LocationError LOCATION_SERVICES_DISABLED
public static final PlaceManager.LocationError LOCATION_TIMEOUT
public static final PlaceManager.LocationError UNKNOWN_ERROR
public static PlaceManager.LocationError[] values()
for (PlaceManager.LocationError c : PlaceManager.LocationError.values()) System.out.println(c);
public static PlaceManager.LocationError 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