Commit af7d4f51 authored by Greg Wilson's avatar Greg Wilson Committed by GitHub

Update README.md

parent 1029da31
...@@ -380,12 +380,12 @@ the callback function will be called with a `samples` array containing objects w ...@@ -380,12 +380,12 @@ the callback function will be called with a `samples` array containing objects w
```javascript ```javascript
// samples is array of objects // samples is array of objects
[ [
{value: 74.02, startDate: '2016-06-29T17:55:00.000-0400', endDate: '2016-06-29T17:55:00.000-0400' }, {value: 74.02, startDate:'2016-06-29T17:55:00.000-0400', endDate:'2016-06-29T17:55:00.000-0400'},
{value: 74, startDate: '2016-03-12T13:22:00.000-0400', endDate: '2016-03-12T13:22:00.000-0400' }, {value: 74, startDate:'2016-03-12T13:22:00.000-0400', endDate:'2016-03-12T13:22:00.000-0400'},
... ...
] ]
``` ```
##### example usage
```javascript ```javascript
AppleHealthKit.getHeightSamples(options, (err: Object, samples: Array<Object>) => { AppleHealthKit.getHeightSamples(options, (err: Object, samples: Array<Object>) => {
if(this._handleHealthKitError(err, 'getHeightSamples')){ if(this._handleHealthKitError(err, 'getHeightSamples')){
......
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