Commit 9eb850b8 authored by Greg Wilson's avatar Greg Wilson

update readme

parent 1faa9791
...@@ -242,6 +242,8 @@ AppleHealthKit.getDateOfBirth(null, (err: Object, dob: string) => { ...@@ -242,6 +242,8 @@ AppleHealthKit.getDateOfBirth(null, (err: Object, dob: string) => {
___ ___
#### **`getStepCountForToday`** #### **`getStepCountForToday`**
`removed - replaced by getStepCount`
get the aggregated total steps for the current day starting and ending at midnight get the aggregated total steps for the current day starting and ending at midnight
```javascript ```javascript
AppleHealthKit.getStepCountForToday(null, (err: Object, steps: number) => { AppleHealthKit.getStepCountForToday(null, (err: Object, steps: number) => {
...@@ -255,6 +257,8 @@ AppleHealthKit.getStepCountForToday(null, (err: Object, steps: number) => { ...@@ -255,6 +257,8 @@ AppleHealthKit.getStepCountForToday(null, (err: Object, steps: number) => {
___ ___
#### **`getStepCountForDay`** #### **`getStepCountForDay`**
`removed - replaced by getStepCount`
get the the aggregated total steps for the day provided as `date` in options object. the `date` field expects an ISO date string as its value get the the aggregated total steps for the day provided as `date` in options object. the `date` field expects an ISO date string as its value
```javascript ```javascript
let d = new Date(2016,5,27); let d = new Date(2016,5,27);
......
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