MediaPlaybackTemplate


@ExperimentalCarApi
@RequiresCarApi(value = 8)
@CarProtocol
public class MediaPlaybackTemplate implements 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 methods

boolean
@Nullable Header

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

int
@NonNull String

Public methods

equals

public boolean equals(@Nullable Object other)

getHeader

Added in 1.7.0-beta02
public @Nullable Header getHeader()

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

hashCode

public int hashCode()

toString

public @NonNull String toString()