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);
            
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione