HealthStore class
A class that provides Methods to access HealthKit
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHealthSamplesForCategroyType(
{required DateTime start, required DateTime end, required Iterable< HKCategoryType> types}) → Future<Iterable< HKCategorySample> > - Returns a list of all samples for the requested types in a given time range.
-
getHealthSamplesForQuantityType(
{required DateTime start, required DateTime end, required Iterable< HKQuantityTypeUnitTuple> types}) → Future<Iterable< HKQuantitySample> > - Returns a list of all samples for the requested types in a given time range.
-
getHealthStatisticsForType(
{required DateTime start, required DateTime end, required StatisticsInterval interval, required DateTime anchor, required Iterable< HKQuantityTypeUnitTuple> types}) → Future<Iterable< HKStatistics> > - Returns a list of all the statistics for the requested types in a given time range for the specified interval.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestTypes(
Iterable< String> typeIdentifiers) → Future<bool> - Returns true if the user has seen the dialog to give the permissions for requested informations
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited