public enum PlacesServiceStatus extends Enum<PlacesServiceStatus>
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 |
fromValue(String type) |
String |
toString() |
String |
value() |
static PlacesServiceStatus |
valueOf(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 INVALID_REQUEST
public static final PlacesServiceStatus OK
public static final PlacesServiceStatus OVER_QUERY_LIMIT
public static final PlacesServiceStatus REQUEST_DENIED
public static final PlacesServiceStatus UNKNOWN_ERROR
public static final PlacesServiceStatus ZERO_RESULTS
public static PlacesServiceStatus[] values()
for (PlacesServiceStatus c : PlacesServiceStatus.values()) System.out.println(c);
public static PlacesServiceStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static PlacesServiceStatus fromValue(String type)
public String toString()
toString
in class Enum<PlacesServiceStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.