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
  • id
  • Defined in
  • templateId
  • Inherited from
  • Defined in
Question? Give us feedback → (opens in a new tab)Edit this page
TypeScript API
Barbuttonevent

Interface: BarButtonEvent

Hierarchy

  • BaseEvent

    ↳ BarButtonEvent

Table of contents

Properties

  • id
  • templateId

Properties

id

• id: string

Defined in

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


templateId

• templateId: string

Template id that fired the event

Inherited from

BaseEvent.templateId

Defined in

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

AlerttemplateconfigBarbuttonimage

React Native for Apple CarPlay and Android Auto