Home > @magiclane/maps-sdk > DriverBehaviourAnalysis
DriverBehaviourAnalysis class
A driver behaviour analysis.
Provides methods for getting driver behaviour analysis data.
This class should not be instantiated directly. Instead, use the methods provided by the DriverBehaviour class.
Driver Behaviour
Signature:
export declare class DriverBehaviourAnalysis Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Get all mapped driving events. | ||
|
|
Get scores for this session (partial and aggregate) | ||
|
|
number |
Get the finish time of the session in milliseconds since epoch. | |
|
|
boolean |
Get flag telling whether the analysis is valid. | |
|
|
number |
Get the driven kilometers. Part of session statistics. | |
|
|
number |
Get the number of minutes driven. Part of session statistics. | |
|
|
number |
Returns the total number of minutes the driver was speeding. Part of session statistics. | |
|
|
number |
Returns the total number of minutes the driver was tailgating. Part of session statistics. | |
|
|
number |
Get the total number of elapsed minutes. Part of session statistics. | |
|
|
number |
Number of cornering events detected | |
|
|
number |
Number of stop signs detected | |
|
|
number |
Number of harsh acceleration events detected | |
|
|
number |
Number of harsh breaking events detected | |
|
|
number |
Number of ignored stop signs events detected | |
|
|
number |
Number of swerving events detected | |
|
|
number | bigint | ||
|
|
number |
Increase of accident probability over a nominal chance (percentage). | |
|
|
number |
Increase of accident probability over a nominal chance (percentage). | |
|
|
number |
Get the start time of the session in milliseconds since epoch. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|