motionModeChangeEvents property
Stream<TlSpeedMotionEvent>
get
motionModeChangeEvents
Stream of speed-based motion mode change events.
Fires only when MotionConfig.motionDetectionMode is
MotionDetectionMode.speed (i.e., TlMotionDetectionMode.speed in the
Pigeon layer). Each event carries:
- TlSpeedMotionEvent.state: the new state (
moving,slowing, orstationary). - TlSpeedMotionEvent.previousState: the state before the transition.
- TlSpeedMotionEvent.trackingMode: the current tracking mode after
the transition (
continuous,periodic, orgeofences).
Subscribe via Tracelet.onMotionModeChange or read the broadcast
stream from Tracelet.motionModeChangeStream.
Implementation
Stream<TlSpeedMotionEvent> get motionModeChangeEvents {
throw UnimplementedError(
'motionModeChangeEvents has not been implemented.',
);
}