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.

Classes

HealthData
A Data object that holds health data from a HealthDataPoint.
HealthProbe
A probe collecting health data from Apple Health or Google Fit / 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.

Constants

dasesDataTypeToUnit → const Map<DasesHealthDataType, HealthDataUnit>
Map a DasesHealthDataType to a HealthDataUnit.
dataTypesAndroid → const List<HealthDataType>
Data types available on Android.
dataTypesIOS → const List<HealthDataType>
Data types available on iOS.

Functions

enumToString(dynamic enumeration) String