Class PositionImpl
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.geolocation.client.PositionImpl
- All Implemented Interfaces:
Position
Real
JavaScriptObject implementation of the Position.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classNested classes/interfaces inherited from interface com.google.gwt.geolocation.client.Position
Position.Coordinates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Position.CoordinatesReturns information about the coordinates reported by the browser.final doubleReturns the time this position was reported by the browser.Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
PositionImpl
protected PositionImpl()
-
-
Method Details
-
getCoordinates
Description copied from interface:PositionReturns information about the coordinates reported by the browser.- Specified by:
getCoordinatesin interfacePosition
-
getTimestamp
public final double getTimestamp()Description copied from interface:PositionReturns the time this position was reported by the browser.- Specified by:
getTimestampin interfacePosition
-