DriverBehaviour class
Constructors
- DriverBehaviour({required DataSource dataSource, required bool useMapMatch})
-
factory
- DriverBehaviour.init(int id)
Properties
Methods
-
dispose(
) → void -
eraseAnalysesOlderThan(
DateTime time) → void - Erase analysis older than the specified time.
-
getAllDriverBehaviourAnalyses(
) → List< DriverBehaviourAnalysis> - Get all driver behavior analysis.
-
getCombinedAnalysis(
DateTime startTime, DateTime endTime) → DriverBehaviourAnalysis - Get an analysis constructed from all analysis from the specified time period.
-
getInstantaneousScores(
) → DrivingScores - Get the instantaneous scores (related to the ongoing analysis).
-
getLastAnalysis(
) → DriverBehaviourAnalysis - Get the last analysis (most recent created).
-
getOngoingAnalysis(
) → DriverBehaviourAnalysis - Get the ongoing analysis.
-
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
-
startAnalysis(
) → bool - Start a new analysis.
-
stopAnalysis(
) → DriverBehaviourAnalysis - Stop the current analysis and get its result.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited