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

added leanBodyMass method docs

parent a6c858d0
...@@ -234,6 +234,18 @@ AppleHealthKit.getLatestBodyFatPercentage(null, (err: Object, bodyFatPercentage: ...@@ -234,6 +234,18 @@ AppleHealthKit.getLatestBodyFatPercentage(null, (err: Object, bodyFatPercentage:
}); });
``` ```
___
#### **`getLatestLeanBodyMass`**
get the most recent lean body mass. the value is a number representing the weight in pounds (lbs)
```javascript
AppleHealthKit.getLatestLeanBodyMass(null, (err: Object, leanBodyMass: number) => {
if(this._handleHealthKitError(err, 'getLatestLeanBodyMass')){
return;
}
// use leanBodyMass ...
});
```
[Apple HealthKit]: https://developer.apple.com/healthkit/ [Apple HealthKit]: https://developer.apple.com/healthkit/
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