Interface Position

All Known Implementing Classes:
PositionImpl

@SingleJsoImpl(PositionImpl.class) public interface Position
Represents information about the user's position as reported by the browser.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Represents position reported by the browser.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns information about the coordinates reported by the browser.
    double
    Returns the time this position was reported by the browser.
  • Method Details

    • getCoordinates

      Position.Coordinates getCoordinates()
      Returns information about the coordinates reported by the browser.
    • getTimestamp

      double getTimestamp()
      Returns the time this position was reported by the browser.