public enum PlacesServiceStatus extends java.lang.Enum<PlacesServiceStatus>
PlacesService
on the completion of its searches.Enum Constant and Description |
---|
INVALID_REQUEST
This request was invalid.
|
OK
The response contains a valid result.
|
OVER_QUERY_LIMIT
The application has gone over its request quota.
|
REQUEST_DENIED
The application is not allowed to use the
PlacesService . |
UNKNOWN_ERROR
The
PlacesService request could not be processed due to a server error. |
ZERO_RESULTS
No result was found for this request.
|
Modifier and Type | Method and Description |
---|---|
static PlacesServiceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlacesServiceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacesServiceStatus OK
public static final PlacesServiceStatus INVALID_REQUEST
public static final PlacesServiceStatus OVER_QUERY_LIMIT
public static final PlacesServiceStatus REQUEST_DENIED
PlacesService
.public static final PlacesServiceStatus UNKNOWN_ERROR
PlacesService
request could not be processed due to a server error. The request may succeed if you try again.public static final PlacesServiceStatus ZERO_RESULTS
public static PlacesServiceStatus[] values()
for (PlacesServiceStatus c : PlacesServiceStatus.values()) System.out.println(c);
public static PlacesServiceStatus 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