Public Member Functions

nsIGeolocationProvider Interface Reference

Interface provides location information to the nsGeolocator via the nsIDOMGeolocationCallback interface. More...

import "nsIGeolocationProvider.idl";

List of all members.

Public Member Functions

void startup ()
 Start up the provider.
void watch (in nsIGeolocationUpdate callback)
 watch When a location change is observed, notify the callback
void shutdown ()
 shutdown Shuts down the location device.

Detailed Description

Interface provides location information to the nsGeolocator via the nsIDOMGeolocationCallback interface.

After startup is called, any geo location change should call callback.update().


Member Function Documentation

void nsIGeolocationProvider::shutdown (  ) 

shutdown Shuts down the location device.

void nsIGeolocationProvider::startup (  ) 

Start up the provider.

This is called before any other method. may be called multiple times.

void nsIGeolocationProvider::watch ( in nsIGeolocationUpdate  callback  ) 

watch When a location change is observed, notify the callback


The documentation for this interface was generated from the following file: