com.google.zxing.client.result
Class GeoParsedResult

java.lang.Object
  extended by com.google.zxing.client.result.ParsedResult
      extended by com.google.zxing.client.result.GeoParsedResult

public final class GeoParsedResult
extends ParsedResult

Author:
Sean Owen

Method Summary
 double getAltitude()
           
 java.lang.String getDisplayResult()
           
 java.lang.String getGeoURI()
           
 double getLatitude()
           
 double getLongitude()
           
 java.lang.String getQuery()
           
 
Methods inherited from class com.google.zxing.client.result.ParsedResult
getType, maybeAppend, maybeAppend, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getGeoURI

public java.lang.String getGeoURI()

getLatitude

public double getLatitude()
Returns:
latitude in degrees

getLongitude

public double getLongitude()
Returns:
longitude in degrees

getAltitude

public double getAltitude()
Returns:
altitude in meters. If not specified, in the geo URI, returns 0.0

getQuery

public java.lang.String getQuery()
Returns:
query string associated with geo URI or null if none exists

getDisplayResult

public java.lang.String getDisplayResult()
Specified by:
getDisplayResult in class ParsedResult