DrivingEvent enum driver_behaviour

Driving event types detected during a driving session.

Each value represents a discrete driving incident that the Driver Behaviour subsystem can detect (for example, harsh braking or cornering). Use the values returned in MappedDrivingEvent.eventType to interpret the type of incident recorded at a specific time and location.

See also:

Inheritance
Available extensions

Values

noEvent → const DrivingEvent

No event detected.

startingTrip → const DrivingEvent

Trip start event indicating the beginning of a driving session.

finishingTrip → const DrivingEvent

Trip finish event indicating the end of a driving session.

resting → const DrivingEvent

Resting or pause period during the trip.

harshAcceleration → const DrivingEvent

Rapid acceleration detected.

harshBraking → const DrivingEvent

Sudden hard braking detected.

cornering → const DrivingEvent

Aggressive cornering maneuver detected.

swerving → const DrivingEvent

Sudden lane change or swerving detected.

tailgating → const DrivingEvent

Following another vehicle too closely.

ignoringSigns → const DrivingEvent

Failure to observe traffic signs (e.g., running a stop sign).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<DrivingEvent>
A constant List of the values in this enum, in order of their declaration.