saveBmi().md 311 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
save a numeric BMI value to Healthkit

`saveBmi` accepts an options object containing a numeric BMI value:
```javascript
let options = {
  value: 27.2
}
```
```javascript
Terrillo Walls's avatar
Terrillo Walls committed
10
AppleHealthKit.saveBmi(options: Object, (err: Object, results: Object) => {
11 12 13 14 15 16
  if (err) {
    return;
  }
  // BMI successfully saved
});
```