Class: NowPlayingTemplate
Hierarchy
-
Template
<NowPlayingTemplateConfig
>↳
NowPlayingTemplate
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new NowPlayingTemplate(config
): NowPlayingTemplate
Parameters
Name | Type |
---|---|
config | TemplateConfig & NowPlayingTemplateConfig |
Returns
Inherited from
Defined in
packages/react-native-carplay/src/templates/Template.ts:92 (opens in a new tab)
Properties
config
• config: TemplateConfig
& NowPlayingTemplateConfig
Inherited from
Defined in
packages/react-native-carplay/src/templates/Template.ts:92 (opens in a new tab)
id
• id: string
Inherited from
Defined in
packages/react-native-carplay/src/templates/Template.ts:86 (opens in a new tab)
Accessors
eventMap
• get
eventMap(): Object
Returns
Object
Name | Type |
---|---|
albumArtistButtonPressed | string |
buttonPressed | string |
upNextButtonPressed | string |
Overrides
Template.eventMap
Defined in
packages/react-native-carplay/src/templates/NowPlayingTemplate.ts:31 (opens in a new tab)
type
• get
type(): string
Returns
string
Overrides
Template.type
Defined in
packages/react-native-carplay/src/templates/NowPlayingTemplate.ts:27 (opens in a new tab)
Methods
parseConfig
▸ parseConfig(config
): any
Parameters
Name | Type |
---|---|
config | any |
Returns
any
Inherited from
Defined in
packages/react-native-carplay/src/templates/Template.ts:147 (opens in a new tab)
updateTemplate
▸ updateTemplate(config
): void
Parameters
Name | Type |
---|---|
config | P |
Returns
void
Inherited from
Defined in
packages/react-native-carplay/src/templates/Template.ts:141 (opens in a new tab)