ExerciseEvent class final

The SDK detected an exercise.

Inheritance

Constructors

ExerciseEvent(Exercise exercise, {required int timestamp, required int? endTimestamp, required bool isPast, double? confidence})
Creates an event for the detected exercise.
const

Properties

confidence → double?
Confidence of the detector from 0 to 1, or null when it reports none.
finalinherited
endTimestamp → int?
End of the event, Unix time in milliseconds: equal to timestamp for a moment and null while a period lasts.
finalinherited
exercise → Exercise
The detected exercise.
final
hashCode → int
The hash code for this object.
no setterinherited
isPast → bool
Whether the event was read from internal memory through synchronization rather than reported live.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → int
Start of the event, Unix time in milliseconds.
finalinherited

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