PhonePedometerFlutterApi class abstract

Callback API from native to Flutter for phone pedometer data.

Constructors

PhonePedometerFlutterApi()

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
onStepUpdate(int totalSteps, int cadenceSpm, double? distanceMeters) → void
Called periodically with cumulative step data since startPedometerUpdates.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

setUp(PhonePedometerFlutterApi? api, {BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''}) → void

Constants

pigeonChannelCodec → const MessageCodec<Object?>