clearWatch Method

This method stops the process started by watchPosition when it is passed the appropriate watch timer object.

intel.xdk.geolocation.clearWatch(watchTimer);

Available Platforms:

Parameters:

watchTimer: The returned watch returned from the previous intel.xdk.geolocation.watchPosition() command.

Example:


var geolocationWatchTimer = intel.xdk.geolocation.watchPosition(suc,fail,options);
intel.xdk.geolocation.clearWatch(geolocationWatchTimer);
            
Pour de plus amples informations sur les optimisations de compilation, consultez notre Avertissement concernant les optimisations.