Follow us on GitHub

com.google.gwt.maps.client.streetview
Enum StreetViewStatus

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

public enum StreetViewStatus
extends Enum<StreetViewStatus>

The status returned by the StreetViewService on completion of a Street View request.

See StreetViewStatus API Doc


Enum Constant Summary
OK
          The request was successful.
UNKNOWN_ERROR
          The request could not be successfully processed, yet the exact reason for failure is unknown.
ZERO_RESULTS
          There are no nearby panoramas.
 
Method Summary
static StreetViewStatus fromValue(String type)
           
 String toString()
           
 String value()
           
static StreetViewStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StreetViewStatus[] 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

OK

public static final StreetViewStatus OK
The request was successful.


UNKNOWN_ERROR

public static final StreetViewStatus UNKNOWN_ERROR
The request could not be successfully processed, yet the exact reason for failure is unknown.


ZERO_RESULTS

public static final StreetViewStatus ZERO_RESULTS
There are no nearby panoramas.

Method Detail

values

public static StreetViewStatus[] 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 (StreetViewStatus c : StreetViewStatus.values())
    System.out.println(c);

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

valueOf

public static StreetViewStatus 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 StreetViewStatus fromValue(String type)

toString

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


Follow us on GitHub

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