Follow us on GitHub

com.google.gwt.maps.client.services
Enum ElevationStatus

java.lang.Object
  extended by java.lang.Enum<ElevationStatus>
      extended by com.google.gwt.maps.client.services.ElevationStatus
All Implemented Interfaces:
Serializable, Comparable<ElevationStatus>

public enum ElevationStatus
extends Enum<ElevationStatus>

Elevation Status constant.

See ElevationStatus API Doc


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID_REQUEST

public static final ElevationStatus INVALID_REQUEST
This request was invalid.


OK

public static final ElevationStatus OK
The request did not encounter any errors.


OVER_QUERY_LIMIT

public static final ElevationStatus OVER_QUERY_LIMIT
The webpage has gone over the requests limit in too short a period of time.


REQUEST_DENIED

public static final ElevationStatus REQUEST_DENIED
The webpage is not allowed to use the elevation service for some reason.


UNKNOWN_ERROR

public static final ElevationStatus UNKNOWN_ERROR
A geocoding, directions or elevation request could not be successfully processed, yet the exact reason for the failure is not known.

Method Detail

values

public static ElevationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ElevationStatus c : ElevationStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ElevationStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ElevationStatus fromValue(String type)

toString

public String toString()
Overrides:
toString in class Enum<ElevationStatus>


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.