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

DriverBehaviour.stopAnalysis() method

Stop the current analysis and get its result.

Signature:

stopAnalysis(): DriverBehaviourAnalysis;

Returns:

DriverBehaviourAnalysis

The analysis result if the analysis was stopped successfully, null otherwise.

Exceptions

An exception if it fails.