Class PositionImpl
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- com.google.gwt.geolocation.client.PositionImpl
-
- All Implemented Interfaces:
Position
final class PositionImpl extends JavaScriptObject implements Position
RealJavaScriptObject
implementation of thePosition
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PositionImpl.CoordinatesImpl
-
Nested classes/interfaces inherited from interface com.google.gwt.geolocation.client.Position
Position.Coordinates
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PositionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Position.Coordinates
getCoordinates()
Returns information about the coordinates reported by the browser.double
getTimestamp()
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
-
-
-
-
Method Detail
-
getCoordinates
public final Position.Coordinates 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
-
-