From e307c51f911f06816acf7f37fe426f11760bbd42 Mon Sep 17 00:00:00 2001 From: Ali Karbassi Date: Thu, 27 Mar 2014 23:43:34 -0500 Subject: [PATCH] Update docs to denote 'period' is in seconds. --- sensors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors.rst b/sensors.rst index 968bce0..f17d9e3 100644 --- a/sensors.rst +++ b/sensors.rst @@ -6,7 +6,7 @@ sensorOff(int type) : void sensorOn(String type, double period, [Function callback]) : void - Turn on the sensor and produce data no faster than the specific period. + Turn on the sensor and produce data no faster than the specific period (in seconds). Optional callback name that is called at most once per period of the form `function callback(data)` with data being an object with the properties: :name(string): Unique sensor name (uses Android name if one exists)