public enum ElevationStatus extends Enum<ElevationStatus>
Enum Constant and Description |
---|
INVALID_REQUEST
This request was invalid.
|
OK
The request did not encounter any errors.
|
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 elevation service for some reason.
|
UNKNOWN_ERROR
A geocoding, directions or elevation request could not be successfully processed, yet the exact reason for the failure is not known.
|
Modifier and Type | Method and Description |
---|---|
static ElevationStatus |
fromValue(String type) |
String |
toString() |
String |
value() |
static ElevationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElevationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElevationStatus INVALID_REQUEST
public static final ElevationStatus OK
public static final ElevationStatus OVER_QUERY_LIMIT
public static final ElevationStatus REQUEST_DENIED
public static final ElevationStatus UNKNOWN_ERROR
public static ElevationStatus[] values()
for (ElevationStatus c : ElevationStatus.values()) System.out.println(c);
public static ElevationStatus 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 ElevationStatus fromValue(String type)
public String toString()
toString
in class Enum<ElevationStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.