Skip to content

Commit

Permalink
Query data js interface
Browse files Browse the repository at this point in the history
  • Loading branch information
leecrossley committed May 1, 2015
1 parent 07523bb commit f81827d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/pedometer.js
Expand Up @@ -25,4 +25,8 @@ Pedometer.prototype.stopPedometerUpdates = function (onSuccess, onError) {
exec(onSuccess, onError, "Pedometer", "stopPedometerUpdates", []);
};

Pedometer.prototype.queryData = function (onSuccess, onError, options) {
exec(onSuccess, onError, "Pedometer", "queryData", [options]);
};

module.exports = new Pedometer();

0 comments on commit f81827d

Please sign in to comment.