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

DriverBehaviour.getLastAnalysis() method

Get the last analysis (most recent created).

Signature:

getLastAnalysis(): DriverBehaviourAnalysis;

Returns:

DriverBehaviourAnalysis

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

Exceptions

An exception if it fails.