MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/a3e7b5301fea

nsIGeolocationUpdate

Provides a way for a geolocation provider to notify the system that a new location is available.
1.0
28
Introduced
Gecko 1.9.1
Inherits from: nsISupports Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Interface provides a way for a geolocation provider to notify the system that a new location is available.

Method overview

void update(in nsIDOMGeoPosition position);

Methods

update()

Notify the geolocation service that a new geolocation has been discovered.

Note: This must be called on the main thread.

void update(
  in nsIDOMGeoPosition position
);
Parameters
position
A nsIDOMGeoPosition object describing the updated position information.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,