public enum GeocoderStatus extends Enum<GeocoderStatus>
Enum Constant and Description |
---|
INVALID_REQUEST
generally indicates that the query (address or latlng) is missing.
|
OK
indicates that no errors occurred; the address was successfully parsed and at least one geocode was returned.
|
OVER_QUERY_LIMIT
indicates that you are over your quota.
|
REQUEST_DENIED
indicates that your request was denied, generally because of lack of a sensor parameter.
|
UNKNOWN_ERROR
indicates that the request could not be processed due to a server error.
|
ZERO_RESULTS
indicates that the geocode was successful but returned no results.
|
Modifier and Type | Method and Description |
---|---|
static GeocoderStatus |
valueOf(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
public static final GeocoderStatus ZERO_RESULTS
public static final GeocoderStatus OVER_QUERY_LIMIT
public static final GeocoderStatus REQUEST_DENIED
public static final GeocoderStatus INVALID_REQUEST
public static final GeocoderStatus UNKNOWN_ERROR
public static GeocoderStatus[] values()
for (GeocoderStatus c : GeocoderStatus.values()) System.out.println(c);
public static GeocoderStatus 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 nullCopyright © 2015. All rights reserved.