Home > @magiclane/maps-sdk > DriverBehaviour
DriverBehaviour class
The driver behaviour class.
Provides methods for starting, stopping, managing and getting driver behaviour analysis.
Driver Behaviour
Signature:
export declare class DriverBehaviour Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Create a new driver behaviour instance. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
any[] |
Get all driver behavior analysis (property getter version). | |
|
|
any |
Get the instantaneous scores (property getter version). | |
|
|
any |
Get the last analysis (property getter version). | |
|
|
any |
Get the ongoing analysis (property getter version). | |
|
|
number | bigint |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Erase analysis older than the specified time. | ||
|
Get all driver behavior analysis. | ||
|
Get an analysis constructed from all analysis from the specified time period. | ||
|
Get the instantaneous scores (related to the ongoing analysis). | ||
|
Get the last analysis (most recent created). | ||
|
Get the ongoing analysis. | ||
|
| ||
|
Start a new analysis. | ||
|
Stop the current analysis and get its result. |