Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 458 Bytes

saveHeight.md

File metadata and controls

33 lines (25 loc) · 458 Bytes

saveHeight

save a numeric height value to Healthkit

saveHeight accepts an options object containing a numeric height value:

Example input options:

let options = {
  value: 200, // Inches
}

Call the method:

AppleHealthKit.saveHeight(
  (options: HealthInputOptions),
  (err: Object, results: number) => {
    if (err) {
      return
    }
    // height successfully saved
  },
)

Example output:

200