MediaPlaybackTemplate


@RequiresCarApi(value = 8)
@CarProtocol
class MediaPlaybackTemplate : Template


A template representing content to display for media playback.

Template Requirement

A pre requisite for using this template is the usage of registerMediaPlaybackToken.

Summary

Nested types

Builder for the MediaPlaybackTemplate

Public functions

Boolean
equals(other: Any?)
Banner?

Returns the Banner to display in this template or not to display one if it is null.

Header?

Returns the Header to display in this template or not to display one if it is null.

Int
String

Public functions

equals

fun equals(other: Any?): Boolean

getBanner

Added in 1.8.0
@ExperimentalCarApi
@RequiresCarApi(value = 9)
fun getBanner(): Banner?

Returns the Banner to display in this template or not to display one if it is null.

getHeader

Added in 1.7.0
fun getHeader(): Header?

Returns the Header to display in this template or not to display one if it is null.

hashCode

fun hashCode(): Int

toString

fun toString(): String