public enum LocationStatusCode extends java.lang.Enum<LocationStatusCode>
com.google.android.gms.location.LocationStatusCodes wrapper in proper enum.| Enum Constant and Description |
|---|
ERROR |
GEOFENCE_NOT_AVAILABLE |
GEOFENCE_TOO_MANY_GEOFENCES |
GEOFENCE_TOO_MANY_PENDING_INTENTS |
SUCCESS |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
int |
getStatusCode() |
static LocationStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationStatusCode SUCCESS
public static final LocationStatusCode ERROR
public static final LocationStatusCode GEOFENCE_NOT_AVAILABLE
public static final LocationStatusCode GEOFENCE_TOO_MANY_PENDING_INTENTS
public static final LocationStatusCode GEOFENCE_TOO_MANY_GEOFENCES
public static final LocationStatusCode UNKNOWN
public static LocationStatusCode[] values()
for (LocationStatusCode c : LocationStatusCode.values()) System.out.println(c);
public static LocationStatusCode 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 nullpublic int getStatusCode()
public java.lang.String getName()