Commit 3cc40074 authored by Greg Wilson's avatar Greg Wilson

update readme

parent 84423684
...@@ -238,7 +238,7 @@ AppleHealthKit.getBiologicalSex(null, (err: Object, res: Object) => { ...@@ -238,7 +238,7 @@ AppleHealthKit.getBiologicalSex(null, (err: Object, res: Object) => {
if(this._handleHealthKitError(err, 'getBiologicalSex')){ if(this._handleHealthKitError(err, 'getBiologicalSex')){
return; return;
} }
// res.value will be one of the values from the above table (Value column) ... // res.value will be one of the values from the above table (Value column)
// use res.value ... // use res.value ...
}); });
``` ```
...@@ -248,7 +248,7 @@ ___ ...@@ -248,7 +248,7 @@ ___
#### **`getDateOfBirth`** #### **`getDateOfBirth`**
Get the date of birth. Get the date of birth.
On success, the callback function will be provided with a `res` object containing dob `value` (ISO timestamp), and `age` in years: On success, the callback function will be provided with a `res` object containing dob `value: string` (ISO timestamp), and `age: number` in years:
```javascript ```javascript
{ {
value: '1986-09-01T00:00:00.000-0400', value: '1986-09-01T00:00:00.000-0400',
......
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