Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIDOMGeoPositionCallback

The nsIDOMGeoPositionCallback interface is called when updated position information is available.  You need to implement this interface to accept callbacks after using nsIDOMGeolocation.watchPosition().

Please add a summary to this article.
  Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Method overview

void handleEvent(in nsIDOMGeoPosition position);

Methods

handleEvent()

Called when new position information is available.

void handleEvent(
  in nsIDOMGeoPosition position
);
Parameters
position
An nsIDOMGeoPosition object indicating the updated location information.

Document Tags and Contributors

 Contributors to this page: fscholz, Sheppy, Jürgen Jeka
 Last updated by: fscholz,