Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListTemplate

A hierarchical list of menu items can be displayed on the CarPlay screen using a list template.

The List Template allows navigation apps to present a hierarchical list of menu items. It includes a navigation bar and a list view.

The navigation bar includes a title, and up to two (2) leading buttons and two (2) trailing buttons. You can customize the appearance of these buttons with icons or text.

Each item in the list view may include an icon, title, subtitle, and an optional disclosure indicator indicating the presence of a submenu. The depth of the menu hierarchy may not exceed 5 levels. Note that some cars limit the total number of items that may be shown in a list.

Hierarchy

Index

Constructors

constructor

Properties

config

id

id: string

Accessors

eventMap

  • get eventMap(): { backButtonPressed: string }

type

  • get type(): string

Methods

parseConfig

  • parseConfig(config: any): any

updateListTemplateItem

  • updateListTemplateItem(config: ListItemUpdate): any

updateSections

  • updateSections(sections: ListSection[]): any

Generated using TypeDoc