StartFreeDriveOptions
type StartFreeDriveOptions = object;
Defined in: src/Navigation.ts:50
Options of Navigation.startFreeDrive.
Properties
| Property | Type | Description |
|---|---|---|
foregroundService? | boolean | Android: keep tracking in the background, with the Navigation SDK's foreground service and its notification. Without it, Android throttles location updates in the background. Ignored when simulating and on iOS. |
simulatedLocation? | Position | Simulate the device standing still at this position instead of using its location. |