health library
Classes
- AudiogramHealthValue
- A HealthValue object for audiograms
- ElectrocardiogramHealthValue
- A HealthValue object for ECGs
- ElectrocardiogramVoltageValue
- Single voltage value belonging to a ElectrocardiogramHealthValue
- Health
-
Main class for the Plugin. This class works as a singleton and should be accessed
via
Health()
factory method. The plugin must be configured using the configure method before used. - HealthDataPoint
- A HealthDataPoint object corresponds to a data point capture from Apple HealthKit or Google Fit or Google Health Connect with a HealthValue as value.
- HealthValue
- An abstract class for health values.
- NumericHealthValue
- A numerical value from Apple HealthKit or Google Fit such as integer or double. E.g. 1, 2.9, -3
- NutritionHealthValue
- A HealthValue object for nutrition.
- WorkoutHealthValue
- A HealthValue object for workouts
- WorkoutSummary
- A WorkoutSummary object store vary metrics of a workout.
Enums
- ElectrocardiogramClassification
- Classifications for ECG readings.
- HealthConnectSdkStatus
- The status of Google Health Connect.
- HealthDataAccess
- Access types for Health Data.
- HealthDataType
- List of all available health data types.
- HealthDataUnit
- List of all HealthDataUnits.
- HealthPlatformType
- Types of health platforms.
- HealthWorkoutActivityType
- List of HealthWorkoutActivityTypes.
- MealType
Extensions
- ElectrocardiogramClassificationValue on ElectrocardiogramClassification
- Extension to assign numbers to ElectrocardiogramClassifications
Constants
-
dataTypeKeysAndroid
→ const List<
HealthDataType> - List of data types available on Android
-
dataTypeKeysIOS
→ const List<
HealthDataType> - List of data types available on iOS.
-
dataTypeToUnit
→ const Map<
HealthDataType, HealthDataUnit> -
Maps a
HealthDataType
to aHealthDataUnit
.
Exceptions / Errors
- HealthException
- Custom Exception for the plugin. Used when a Health Data Type is requested, but not available on the current platform.