health_package library

A CAMS sampling package for collecting health information from Apple Health or Google Fit. Is using the health plugin. Can be configured to collect the different HealthDataType.

The measure type is health.

Classes

HealthDatum
A Datum that holds a HealthDataPoint data point information.
HealthMeasure
Specify the configuration on how to collect health data. [...]
HealthProbe
HealthSamplingPackage
This is the base class for this health sampling package. [...]

Constants

dasesDataTypeToUnit → const Map<DasesHealthDataType, HealthDataUnit>
Map a DasesHealthDataType to a HealthDataUnit.
const {DasesHealthDataType.CALORIES_INTAKE : HealthDataUnit.CALORIES, DasesHealthDataType.ALCOHOL : HealthDataUnit.COUNT, DasesHealthDataType.BLOOD_ALCOHOL_CONTENT : HealthDataUnit.PERCENTAGE, DasesHe…

Enums

DasesHealthDataType
Diet, Alcohol, Smoking, Exercise, Sleep (DASES) data types.