TypeScript API
Navigationsession

Class: NavigationSession

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new NavigationSession(id, trip, mapTemplate): NavigationSession

Parameters

NameType
idstring
tripTrip
mapTemplateMapTemplate

Returns

NavigationSession

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

NameType
reasonPauseReason
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

NameType
maneuversManeuver[]

Returns

void

Defined in

packages/react-native-carplay/src/navigation/NavigationSession.ts:14 (opens in a new tab)


updateTravelEstimates

updateTravelEstimates(maneuverIndex, travelEstimates): void

Parameters

NameType
maneuverIndexnumber
travelEstimatesTravelEstimates

Returns

void

Defined in

packages/react-native-carplay/src/navigation/NavigationSession.ts:39 (opens in a new tab)