Home > @magiclane/maps-sdk > NavigationService > isSimulationActive

NavigationService.isSimulationActive() method

Check if there is an active simulation in progress.

Signature:

static isSimulationActive(input?: {
        taskHandler?: TaskHandler;
    }): boolean;

Parameters

Parameter

Type

Description

{ taskHandler }

(not declared)

(Optional)

input

{ taskHandler?: TaskHandler; }

(Optional)

Returns:

boolean

True if there is an active simulation in progress, false otherwise.

Exceptions

An exception if it fails.