public enum StreetViewStatus extends Enum<StreetViewStatus>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final StreetViewStatus OK
public static final StreetViewStatus UNKNOWN_ERROR
public static final StreetViewStatus ZERO_RESULTS
public static StreetViewStatus[] values()
for (StreetViewStatus c : StreetViewStatus.values()) System.out.println(c);
public static StreetViewStatus 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 StreetViewStatus fromValue(String type)
public String toString()
toString
in class Enum<StreetViewStatus>
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.