nsIGeolocationUpdate

Table of contents

  1. 1. Method overview
  2. 2. Methods
    1. 2.1. update()
  3. 3. See also
Table of contents
  1. 1. Method overview
  2. 2. Methods
    1. 2.1. update()
  3. 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 nsIDOMGeoPosition object describing the updated position information.

Tags (6)

Edit tags

Attachments (0)

 

Attach file