Home > @magiclane/maps-sdk > DriverBehaviour > getCombinedAnalysis

DriverBehaviour.getCombinedAnalysis() method

Get an analysis constructed from all analysis from the specified time period.

Signature:

getCombinedAnalysis(startTime: Date, endTime: Date): DriverBehaviourAnalysis;

Parameters

Parameter

Type

Description

startTime

Date

The start time of the period.

endTime

Date

The end time of the period.

Returns:

DriverBehaviourAnalysis

The combined analysis. Use DriverBehaviourAnalysis.isValid to check if the analysis is valid.

Exceptions

An exception if it fails.