Commit e63e10db authored by Chris Scott's avatar Chris Scott

docs

parent d016613b
......@@ -295,7 +295,10 @@ bgGeo.onMotionChange(function(isMoving, location, taskId) {
```
####`onStationary(callbackFn, failureFn)` **DEPRECATED** — Use `onMotionChange` instead.
####`onStationary(callbackFn, failureFn)`
**DEPRECATED** — Use `onMotionChange` 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.
######@param {Object} location The Location data
......
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