MethodChannelStepsCount class

An implementation of StepsCountPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkHealthKitPermissionStatus({required List<HealthDataType> dataTypes}) Future<Map<String, bool>>
override
checkSingleHealthKitPermissionStatus({required HealthDataType dataType}) Future<bool>
override
getStepCounts({DateTime? startDate, DateTime? endDate}) Future<int>
override
getTimeline({DateTime? startDate, DateTime? endDate, TimeZoneType timeZone = TimeZoneType.local}) Future<List<TimelineModel>>
override
getTodaysCount() Future<int>
override
isHealthKitAvailable() Future<bool>
override
isServiceRunning() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestHealthKitPermissions({required List<HealthDataType> dataTypes}) Future<bool>
override
startBackgroundService() Future<void>
override
stopBackgroundService() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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