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

Update README.md

parent 0f9efa22
...@@ -205,7 +205,7 @@ AppleHealthKit.getLatestHeight(null, (err: string, height: number) => { ...@@ -205,7 +205,7 @@ AppleHealthKit.getLatestHeight(null, (err: string, height: number) => {
___ ___
#### **`getLatestBmi`** #### **`getLatestBmi`**
get the most recent BMI data. the handler function will be called with a `bmi` object containing `*value: number*`, `*startDate: ISO8601Timestamp*`, and `*endDate: ISO8601Timestamp*`. The BMI value may be very old so the sample dates are provided as well. *should apply this to all other RCT types* get the most recent BMI data. the handler function will be called with a `bmi` object containing *`value: number`*, *`startDate: ISO8601Timestamp`*, and *`endDate: ISO8601Timestamp`*. The BMI value may be very old so the sample dates are provided as well. *should apply this to all other RCT types*
```javascript ```javascript
AppleHealthKit.getLatestBmi(null, (err: string, bmi: Object) => { AppleHealthKit.getLatestBmi(null, (err: string, bmi: Object) => {
if(err){ if(err){
......
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