@@ -12,53 +12,53 @@ The plugin supports:
1212- accessing total step counts using the ` getTotalStepsInInterval ` method.
1313- cleaning up dublicate data points via the ` removeDuplicates ` method.
1414- removing data of a given type in a selected period of time using the ` delete ` method.
15- - writing blood pressure data in a single call using the ` saveBloodPressure ` method (Android only) .
15+ - writing blood pressure data in a single call using the ` writeBloodPressure ` method.
1616
1717Note that for Android, the target phone ** needs** to have [ Google Fit] ( https://www.google.com/fit/ ) installed and have access to the internet, otherwise this plugin will not work.
1818
1919## Data Types
2020
21- | ** Data Type** | ** Unit** | ** iOS** | ** Android** | ** Comments** |
22- | --------------------------- | ----------------------- | ------- | ----------- | ----------------------------------------------------------- |
23- | ACTIVE_ENERGY_BURNED | CALORIES | yes | yes | |
24- | BASAL_ENERGY_BURNED | CALORIES | yes | | |
25- | BLOOD_GLUCOSE | MILLIGRAM_PER_DECILITER | yes | yes | |
26- | BLOOD_OXYGEN | PERCENTAGE | yes | yes | |
27- | BLOOD_PRESSURE_DIASTOLIC | MILLIMETER_OF_MERCURY | yes | yes | |
28- | BLOOD_PRESSURE_SYSTOLIC | MILLIMETER_OF_MERCURY | yes | yes | |
29- | BODY_FAT_PERCENTAGE | PERCENTAGE | yes | yes | |
30- | BODY_MASS_INDEX | NO_UNIT | yes | yes | |
31- | BODY_TEMPERATURE | DEGREE_CELSIUS | yes | yes | |
32- | ELECTRODERMAL_ACTIVITY | SIEMENS | yes | | |
33- | HEART_RATE | BEATS_PER_MINUTE | yes | yes | |
34- | HEIGHT | METERS | yes | yes | |
35- | RESTING_HEART_RATE | BEATS_PER_MINUTE | yes | | |
36- | STEPS | COUNT | yes | yes | |
37- | WAIST_CIRCUMFERENCE | METERS | yes | | |
38- | WALKING_HEART_RATE | BEATS_PER_MINUTE | yes | | |
39- | WEIGHT | KILOGRAMS | yes | yes | |
40- | DISTANCE_WALKING_RUNNING | METERS | yes | | |
41- | FLIGHTS_CLIMBED | COUNT | yes | | |
42- | MOVE_MINUTES | MINUTES | | yes | |
43- | DISTANCE_DELTA | METERS | | yes | |
44- | MINDFULNESS | MINUTES | yes | | |
45- | SLEEP_IN_BED | MINUTES | yes | yes | |
46- | SLEEP_ASLEEP | MINUTES | yes | yes | |
47- | SLEEP_AWAKE | MINUTES | yes | yes | |
48- | WATER | LITER | yes | yes | On Android water requires a 3rd party app to be registered. |
49- | EXERCISE_TIME | MINUTES | yes | | |
50- | WORKOUT | NO_UNIT | yes | yes | |
51- | HIGH_HEART_RATE_EVENT | NO_UNIT | yes | | Requires Apple Watch |
52- | LOW_HEART_RATE_EVENT | NO_UNIT | yes | | Requires Apple Watch |
53- | IRREGULAR_HEART_RATE_EVENT | NO_UNIT | yes | | Requires Apple Watch |
54- | HEART_RATE_VARIABILITY_SDNN | MILLISECONDS | yes | | Requires Apple Watch |
55- | HEADACHE_NOT_PRESENT | MINUTES | yes | | |
56- | HEADACHE_MILD | MINUTES | yes | | |
57- | HEADACHE_MODERATE | MINUTES | yes | | |
58- | HEADACHE_SEVERE | MINUTES | yes | | |
59- | HEADACHE_UNSPECIFIED | MINUTES | yes | | |
60- | AUDIOGRAM | DECIBEL_HEARING_LEVEL | yes | | |
61- | ELECTROCARDIOGRAM | VOLT | yes | | Requires Apple Watch |
21+ | ** Data Type** | ** Unit** | ** iOS** | ** Android (Google Fit) ** | ** Android (Health Connect) ** | ** Comments** |
22+ | --------------------------- | ----------------------- | ------- | ------------------------ | ---------------------------- | ----------------------------------------------------------- |
23+ | ACTIVE_ENERGY_BURNED | CALORIES | yes | yes | yes | |
24+ | BASAL_ENERGY_BURNED | CALORIES | yes | | | |
25+ | BLOOD_GLUCOSE | MILLIGRAM_PER_DECILITER | yes | yes | yes | |
26+ | BLOOD_OXYGEN | PERCENTAGE | yes | yes | yes | |
27+ | BLOOD_PRESSURE_DIASTOLIC | MILLIMETER_OF_MERCURY | yes | yes | yes | |
28+ | BLOOD_PRESSURE_SYSTOLIC | MILLIMETER_OF_MERCURY | yes | yes | yes | |
29+ | BODY_FAT_PERCENTAGE | PERCENTAGE | yes | yes | yes | |
30+ | BODY_MASS_INDEX | NO_UNIT | yes | yes | yes | |
31+ | BODY_TEMPERATURE | DEGREE_CELSIUS | yes | yes | yes | |
32+ | ELECTRODERMAL_ACTIVITY | SIEMENS | yes | | | |
33+ | HEART_RATE | BEATS_PER_MINUTE | yes | yes | yes | |
34+ | HEIGHT | METERS | yes | yes | yes | |
35+ | RESTING_HEART_RATE | BEATS_PER_MINUTE | yes | | | |
36+ | STEPS | COUNT | yes | yes | yes | |
37+ | WAIST_CIRCUMFERENCE | METERS | yes | | | |
38+ | WALKING_HEART_RATE | BEATS_PER_MINUTE | yes | | | |
39+ | WEIGHT | KILOGRAMS | yes | yes | yes | |
40+ | DISTANCE_WALKING_RUNNING | METERS | yes | | | |
41+ | FLIGHTS_CLIMBED | COUNT | yes | | | |
42+ | MOVE_MINUTES | MINUTES | | yes | | |
43+ | DISTANCE_DELTA | METERS | | yes | yes | |
44+ | MINDFULNESS | MINUTES | yes | | | |
45+ | SLEEP_IN_BED | MINUTES | yes | yes | | |
46+ | SLEEP_ASLEEP | MINUTES | yes | yes | | |
47+ | SLEEP_AWAKE | MINUTES | yes | yes | | |
48+ | WATER | LITER | yes | yes | | On Android water requires a 3rd party app to be registered. |
49+ | EXERCISE_TIME | MINUTES | yes | | | |
50+ | WORKOUT | NO_UNIT | yes | yes | yes | |
51+ | HIGH_HEART_RATE_EVENT | NO_UNIT | yes | | | Requires Apple Watch to write the data |
52+ | LOW_HEART_RATE_EVENT | NO_UNIT | yes | | | Requires Apple Watch to write the data |
53+ | IRREGULAR_HEART_RATE_EVENT | NO_UNIT | yes | | | Requires Apple Watch to write the data |
54+ | HEART_RATE_VARIABILITY_SDNN | MILLISECONDS | yes | | | Requires Apple Watch to write the data |
55+ | HEADACHE_NOT_PRESENT | MINUTES | yes | | | |
56+ | HEADACHE_MILD | MINUTES | yes | | | |
57+ | HEADACHE_MODERATE | MINUTES | yes | | | |
58+ | HEADACHE_SEVERE | MINUTES | yes | | | |
59+ | HEADACHE_UNSPECIFIED | MINUTES | yes | | | |
60+ | AUDIOGRAM | DECIBEL_HEARING_LEVEL | yes | | | |
61+ | ELECTROCARDIOGRAM | VOLT | yes | | | Requires Apple Watch to write the data |
6262
6363## Setup
6464
0 commit comments