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
Modifier and TypeClassDescription(package private) static final class
Nested classes/interfaces inherited from interface com.google.gwt.geolocation.client.Position
Position.Coordinates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Position.Coordinates
Returns information about the coordinates reported by the browser.final double
Returns 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:Position
Returns information about the coordinates reported by the browser.- Specified by:
getCoordinates
in interfacePosition
-
getTimestamp
public final double getTimestamp()Description copied from interface:Position
Returns the time this position was reported by the browser.- Specified by:
getTimestamp
in interfacePosition
-