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
Real JavaScriptObject implementation of the Position.
  • Constructor Details

    • PositionImpl

      protected PositionImpl()
  • Method Details

    • getCoordinates

      public final Position.Coordinates getCoordinates()
      Description copied from interface: Position
      Returns information about the coordinates reported by the browser.
      Specified by:
      getCoordinates in interface Position
    • getTimestamp

      public final double getTimestamp()
      Description copied from interface: Position
      Returns the time this position was reported by the browser.
      Specified by:
      getTimestamp in interface Position