com.veriplace.client
Enum LocationOptions.ExtraInfo

java.lang.Object
  extended by java.lang.Enum<LocationOptions.ExtraInfo>
      extended by com.veriplace.client.LocationOptions.ExtraInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LocationOptions.ExtraInfo>
Enclosing class:
LocationOptions

public static enum LocationOptions.ExtraInfo
extends java.lang.Enum<LocationOptions.ExtraInfo>

Enumeration of extended location data structures that can be requested.


Enum Constant Summary
NearestPointOfInterest
          Indicates that the location should, if possible, include a reference to a PointOfInterest.
NearestStreetIntersection
          Indicates that the location should, if possible, include a reference to a StreetIntersection.
 
Method Summary
static LocationOptions.ExtraInfo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LocationOptions.ExtraInfo[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NearestPointOfInterest

public static final LocationOptions.ExtraInfo NearestPointOfInterest
Indicates that the location should, if possible, include a reference to a PointOfInterest.


NearestStreetIntersection

public static final LocationOptions.ExtraInfo NearestStreetIntersection
Indicates that the location should, if possible, include a reference to a StreetIntersection.

Note that this feature is not enabled for all applications; see the section on "Points of Interest and Street Intersections" in the Get Location API chapter of the Veriplace Developer Guide.

Method Detail

values

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

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

valueOf

public static LocationOptions.ExtraInfo valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name