public enum GeocoderStatus extends java.lang.Enum<GeocoderStatus>
Enum Constant and Description |
---|
ERROR
There was a problem contacting the Google servers.
|
INVALID_REQUEST
This
GeocoderRequest was invalid. |
OK
The response contains a valid
GeocoderResult . |
OVER_QUERY_LIMIT
The webpage has gone over the requests limit in too short a period of time.
|
REQUEST_DENIED
The webpage is not allowed to use the geocoder.
|
UNKNOWN_ERROR
A geocoding request could not be processed due to a server error.
|
ZERO_RESULTS
No result was found for this
GeocoderRequest . |
Modifier and Type | Method and Description |
---|---|
static GeocoderStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeocoderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeocoderStatus OK
GeocoderResult
.public static final GeocoderStatus INVALID_REQUEST
GeocoderRequest
was invalid.public static final GeocoderStatus ERROR
public static final GeocoderStatus OVER_QUERY_LIMIT
public static final GeocoderStatus REQUEST_DENIED
public static final GeocoderStatus UNKNOWN_ERROR
public static final GeocoderStatus ZERO_RESULTS
GeocoderRequest
.public static GeocoderStatus[] values()
for (GeocoderStatus c : GeocoderStatus.values()) System.out.println(c);
public static GeocoderStatus 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