DriverBehaviourAnalysis class driver_behaviour
Analysis results for a single driver behaviour session.
The analysis contains aggregated metrics (distance, duration, risk percentages), counts of detected events (harsh braking, cornering, etc.), and optionally the DrivingScores and a list of MappedDrivingEvent instances. Instances are returned by DriverBehaviour.stopAnalysis, DriverBehaviour.getLastAnalysis and related APIs. Always check DriverBehaviourAnalysis.isValid before reading other properties.
See also:
- DriverBehaviourAnalysis.drivingScores - Represents driving scores for the session.
Properties
-
drivingEvents
→ List<
MappedDrivingEvent> -
All mapped driving events detected during the session.
no setter
- drivingScores → DrivingScores?
-
Driving scores (partial and aggregate) for this session.
no setter
- finishTime → int
-
Finish time of the session in milliseconds since Unix epoch (UTC).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- isValid → bool
-
Whether this analysis contains valid results.
no setter
- kilometersDriven → double
-
Total distance driven during the session, in kilometers.
no setter
- minutesDriven → double
-
Total driving time in minutes for the session.
no setter
- minutesSpeeding → double
-
Total minutes the driver exceeded applicable speed thresholds.
no setter
- minutesTailgating → double
-
Total minutes spent tailgating (following too closely).
no setter
- minutesTotalElapsed → double
-
Total elapsed time of the session in minutes (including non-driving
pauses).
no setter
- numberOfCorneringEvents → int
-
Count of cornering events detected during the session.
no setter
- numberOfEncounteredStopSigns → int
-
Number of stop signs encountered during the session.
no setter
- numberOfHarshAccelerationEvents → int
-
Count of harsh acceleration events detected during the session.
no setter
- numberOfHarshBrakingEvents → int
-
Count of harsh braking events detected during the session.
no setter
- numberOfIgnoredStopSigns → int
-
Count of ignored stop sign events detected during the session.
no setter
- numberOfSwervingEvents → int
-
Count of swerving events detected during the session.
no setter
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- riskRelatedToMeanSpeed → double
-
Percentage increase in accident probability related to mean speed.
no setter
- riskRelatedToSpeedVariation → double
-
Percentage increase in accident probability related to speed variation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → int
-
Start time of the session in milliseconds since Unix epoch (UTC).
no setter
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited