health_package library

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

Classes

HealthData
A Data object that holds health data from a HealthDataPoint.
HealthProbe
A probe collecting health data from Apple Health or Google Health Connect.
HealthSamplingConfiguration
Specify the configuration on how to collect health data.
HealthSamplingPackage
The health sampling package supports the following overall measure type:
HealthService
An OnlineService for the health service.
HealthServiceManager
A DeviceManager for the HealthService.

Enums

DasesHealthDataType
Diet, Alcohol, Smoking, Exercise, Sleep (DASES) data types.
HealthPlatform
Types of health platforms.

Constants

dasesDataTypeToUnit → const Map<DasesHealthDataType, HealthDataUnit>
Map a DasesHealthDataType to a HealthDataUnit.
dataTypesAndroid → const List<HealthDataType>
Data types available on Android via the Google Health Connect API.
dataTypesIOS → const List<HealthDataType>
Data types available on iOS via Apple Health.