Home > @magiclane/maps-sdk > NavigationService > isNavigationActive
NavigationService.isNavigationActive() method
Check if there is an active navigation in progress.
Signature:
static isNavigationActive(input?: {
taskHandler?: TaskHandler;
}): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ taskHandler } |
(not declared) |
(Optional) |
|
input |
{ taskHandler?: TaskHandler; } |
(Optional) |
Returns:
boolean
True if there is an active navigation in progress, false otherwise.
Exceptions
An exception if it fails.