nsIDOMGeoPositionCallback

Table of contents

    1. 1.1. Method overview
    2. 1.2. Methods
      1. 1.2.1. handleEvent()
  1. 2. See also
Table of contents
    1. 1.1. Method overview
    2. 1.2. Methods
      1. 1.2.1. handleEvent()
  1. 2. See also

Introduced in Gecko 1.9.1

(Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

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

 Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Please update this interface to use the IFSummary template.

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.

See also

Tags (6)

Edit tags

Attachments (0)

 

Attach file