Class: NavigationSession
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new NavigationSession(id
, trip
, mapTemplate
): NavigationSession
Parameters
Name | Type |
---|---|
id | string |
trip | Trip |
mapTemplate | MapTemplate |
Returns
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:12 (opens in a new tab)
Properties
id
• id: string
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:12 (opens in a new tab)
maneuvers
• maneuvers: Maneuver
[] = []
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:10 (opens in a new tab)
mapTemplate
• mapTemplate: MapTemplate
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:12 (opens in a new tab)
trip
• trip: Trip
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:12 (opens in a new tab)
Methods
cancel
▸ cancel(): void
Returns
void
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:46 (opens in a new tab)
finish
▸ finish(): void
Returns
void
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:50 (opens in a new tab)
pause
▸ pause(reason
, description?
): void
Parameters
Name | Type |
---|---|
reason | PauseReason |
description? | string |
Returns
void
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:54 (opens in a new tab)
updateManeuvers
▸ updateManeuvers(maneuvers
): void
Parameters
Name | Type |
---|---|
maneuvers | Maneuver [] |
Returns
void
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:14 (opens in a new tab)
updateTravelEstimates
▸ updateTravelEstimates(maneuverIndex
, travelEstimates
): void
Parameters
Name | Type |
---|---|
maneuverIndex | number |
travelEstimates | TravelEstimates |
Returns
void
Defined in
packages/react-native-carplay/src/navigation/NavigationSession.ts:39 (opens in a new tab)