Table of contents
- 1. Method overview
- 2. Methods
- 2.1. update()
- 3. See also
Provides a way for a geolocation provider to notify the system that a new location is available.
1.0
15.0
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
nsIDOMGeoPositionobject describing the updated position information.


Mozilla Developer Network