Home > @magiclane/maps-sdk > DrivingScores

DrivingScores class

Driving scores.

Provides information about driving scores.

This class should not be instantiated directly. Instead, use the DriverBehaviourAnalysis.drivingScores getter to obtain a list of instances.

Driver Behaviour

Signature:

export declare class DrivingScores 

Constructors

Constructor

Modifiers

Description

(constructor)()

Constructs a new instance of the DrivingScores class

Properties

Property

Modifiers

Type

Description

aggregateScore

readonly

number

Get the aggregate risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

corneringScore

readonly

number

Get the actual cornering risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

fatigueScore

readonly

number

Get the actual fatigue risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

harshAccelerationScore

readonly

number

Get the actual harsh acceleration risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

harshBrakingScore

readonly

number

Get the actual harsh breaking risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

ignoredStopSignsScore

readonly

number

Get the actual ignored stop signs risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

pointerId

readonly

number | bigint

speedAverageRiskScore

readonly

number

Get the actual average speed risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

speedVariableRiskScore

readonly

number

Get the actual speed variation risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

swervingScore

readonly

number

Get the actual swerving risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

tailgatingScore

readonly

number

Get the actual tailgating risk score.

A score is between 0 and 100, with 0 = unsafe, 50 = neutral, 100 = safe.

A score of -1 means invalid (not available)

Methods

Method

Modifiers

Description

dispose()

init(id)

static