TypeScript API
Navigationtemplate

Class: NavigationTemplate

A template for showing navigation information. This template has two independent sections which can be updated:

  • Navigation information such as routing instructions or navigation-related messages.
  • Travel estimates to the destination.

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new NavigationTemplate(config): NavigationTemplate

Parameters

NameType
configNavigationTemplateConfig

Returns

NavigationTemplate

Inherited from

AndroidNavigationBaseTemplate<NavigationTemplateConfig>.constructor

Defined in

packages/react-native-carplay/src/templates/android/AndroidNavigationBaseTemplate.ts:27 (opens in a new tab)

Properties

config

config: NavigationTemplateConfig

Inherited from

AndroidNavigationBaseTemplate.config

Defined in

packages/react-native-carplay/src/templates/android/AndroidNavigationBaseTemplate.ts:27 (opens in a new tab)


id

id: string

Inherited from

AndroidNavigationBaseTemplate.id

Defined in

packages/react-native-carplay/src/templates/Template.ts:86 (opens in a new tab)

Accessors

eventMap

get eventMap(): Object

Returns

Object

NameType
didDismissPanningInterfacestring
didShowPanningInterfacestring

Inherited from

AndroidNavigationBaseTemplate.eventMap

Defined in

packages/react-native-carplay/src/templates/android/AndroidNavigationBaseTemplate.ts:20 (opens in a new tab)


type

get type(): string

Returns

string

Overrides

AndroidNavigationBaseTemplate.type

Defined in

packages/react-native-carplay/src/templates/android/NavigationTemplate.ts:47 (opens in a new tab)

Methods

parseConfig

parseConfig(config): any

Parameters

NameType
configany

Returns

any

Inherited from

AndroidNavigationBaseTemplate.parseConfig

Defined in

packages/react-native-carplay/src/templates/Template.ts:147 (opens in a new tab)


updateTemplate

updateTemplate(config): void

Parameters

NameType
configP

Returns

void

Inherited from

AndroidNavigationBaseTemplate.updateTemplate

Defined in

packages/react-native-carplay/src/templates/Template.ts:141 (opens in a new tab)