From d85fc807752c0df086b9c4ea8f588604f2ddc5e3 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Mon, 27 Jun 2016 19:45:43 -0400 Subject: [PATCH] added leanBodyMass method docs --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 839abbc..d8cb2a0 100644 --- a/README.md +++ b/README.md @@ -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/ -- 2.26.2