MediaPlaybackTemplate.Builder


@ExperimentalCarApi
class MediaPlaybackTemplate.Builder


Builder for the MediaPlaybackTemplate

Summary

Public constructors

Creates a default Builder.

Creates a new Builder, populated from the input MediaPlaybackTemplate

Public functions

MediaPlaybackTemplate

Constructs the template defined by this builder.

MediaPlaybackTemplate.Builder
setHeader(header: Header?)

Sets the Header for this template or {code null} to not display a .

Public constructors

Builder

Added in 1.7.0-beta02
Builder()

Creates a default Builder.

Builder

Added in 1.7.0-beta02
Builder(template: MediaPlaybackTemplate)

Creates a new Builder, populated from the input MediaPlaybackTemplate

Public functions

build

Added in 1.7.0-beta02
fun build(): MediaPlaybackTemplate

Constructs the template defined by this builder.

setHeader

Added in 1.7.0-beta02
fun setHeader(header: Header?): MediaPlaybackTemplate.Builder

Sets the Header for this template or {code null} to not display a .

Defaults to null, which means header is not displayed.