react-native-carplay
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
  • Apple CarPlay
  • Android Auto
  • API
    • Action
    • ActionSheetTemplate
    • ActionSheetTemplateConfig
    • AlertAction
    • AlertTemplate
    • AlertTemplateConfig
    • BarButtonEvent
    • BarButtonImage
    • BarButtonText
    • BaseEvent
    • ButtonPressedEvent
    • CarPlayInterface
    • ContactActionBase
    • ContactActionMessage
    • ContactButtonEvent
    • ContactTemplate
    • ContactTemplateConfig
    • GridButton
    • GridTemplate
    • GridTemplateConfig
    • Header
    • InformationAction
    • InformationItem
    • InformationTemplate
    • InformationTemplateConfig
    • InternalCarPlay
    • ListItem
    • ListItemUpdate
    • ListSection
    • ListTemplate
    • ListTemplateConfig
    • Maneuver
    • MapButton
    • MapTemplate
    • MapTemplateConfig
    • MessageTemplate
    • MessageTemplateConfig
    • NavigationAlert
    • NavigationAlertAction
    • NavigationAlertActionStyle
    • NavigationSession
    • NavigationTemplate
    • NavigationTemplateConfig
    • NowPlayingTemplate
    • NowPlayingTemplateConfig
    • Pane
    • PaneTemplate
    • PaneTemplateConfig
    • PauseReason
    • Place
    • PlaceListMapTemplate
    • PlaceListMapTemplateConfig
    • PlaceListNavigationTemplate
    • PlaceListNavigationTemplateConfig
    • PointOfInterestItem
    • PointOfInterestTemplate
    • PointOfInterestTemplateConfig
    • RouteChoice
    • RoutePreviewNavigationTemplate
    • RoutePreviewNavigationTemplateConfig
    • SearchTemplate
    • SearchTemplateConfig
    • TabBarTemplate
    • TabBarTemplateConfig
    • Template
    • TemplateConfig
    • TextConfiguration
    • TravelEstimates
    • Trip
    • TripConfig
    • TripPoint
    • VoiceControlState
    • VoiceControlTemplate
    • VoiceControlTemplateConfig

On This Page

  • Hierarchy
  • Table of contents
  • Properties
  • Properties
  • templateId
  • Defined in
Question? Give us feedback → (opens in a new tab)Edit this page
TypeScript API
Baseevent

Interface: BaseEvent

Hierarchy

  • BaseEvent

    ↳ BarButtonEvent

    ↳ ButtonPressedEvent

Table of contents

Properties

  • templateId

Properties

templateId

• templateId: string

Template id that fired the event

Defined in

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

BarbuttontextButtonpressedevent

React Native for Apple CarPlay and Android Auto