MediaPlaybackTemplate


@ExperimentalCarApi
@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

Public functions

Boolean
equals(other: Any?)
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

getHeader

Added in 1.7.0-beta01
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