saveBodyFatPercentage().md 370 Bytes
Newer Older
Andrew Allen's avatar
Andrew Allen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
save a percentage body fat value to Healthkit

`saveBodyFatPercentage` accepts an options object containing a percent value:
```javascript
let options = {
  value: 16.7 // 16.7%
}
```

```javascript
AppleHealthKit.saveBodyFatPercentage(options: Object, (err: Object, results: Object) => {
  if (err) {
    return;
  }
  // body fat percentage successfully saved
});
```