Commit 7b18df7f authored by Chris Scott's avatar Chris Scott

docs

parent e63e10db
......@@ -297,7 +297,7 @@ bgGeo.onMotionChange(function(isMoving, location, taskId) {
####`onStationary(callbackFn, failureFn)`
**DEPRECATED** — Use `onMotionChange` instead.
**DEPRECATED** — Use [onMotionChange](https://github.com/christocracy/cordova-background-geolocation/tree/trigger-activities#onmotionchangecallbackfn-failurefn) instead.
Your ```callbackFn``` will be executed each time the device has entered stationary-monitoring mode. The ```callbackFn``` will be provided with a ```Location``` object as the 1st param, with the usual params (```latitude, longitude, accuracy, speed, bearing, altitude```), in addition to a ```taskId``` used to signal that your callback is finished.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment