The nsIDOMGeoPositionCallback
interface is called when updated position information is available. You need to implement this interface to accept callbacks after using nsIDOMGeolocation.watchPosition()
.
void handleEvent(in nsIDOMGeoPosition position); |
Called when new position information is available.
void handleEvent( in nsIDOMGeoPosition position );
position
nsIDOMGeoPosition
object indicating the updated location information.