AHRookSyncManager class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getActivityEvents(DateTime date) Future<List<ActivityEvent>>
Retrieve and upload current day activity events of Apple Health.
getBodySummary(DateTime date) Future<BodySummary>
Retrieve and upload current day body summary of Apple Health.
getPhysicalSummary(DateTime date) Future<PhysicalSummary>
Retrieve and upload current day physical summary of Apple Health.
getSleepSummary(DateTime date) Future<List<SleepSummary>>
Retrieve and upload current day sleep summary of Apple Health.
getTodayCaloriesCount() Future<DailyCalories>
Retrieve and upload current day calories count of Apple Health.
getTodayHeartRate() Future<HeartRate>
Retrieve and upload current day heart rate of Health Connect.
getTodayStepsCount() Future<int>
Retrieve and upload current day steps count of Apple Health.
sync({bool? enableLogs, DateTime? date, AHSummarySyncType? summary}) Future<void>
Syncs summaries using the provided parameters.
syncEvents(DateTime date, AHEventSyncType event) Future<void>
Syncs the event of choice for the provided date.