InCallTemplate


@ExperimentalCarApi
@CarProtocol
public class InCallTemplate implements Template


A Template showing phone call controls and details.

Summary

Nested types

public final class InCallTemplate.Builder

A builder for InCallTemplate.

Public methods

boolean
@NonNull List<Action>

Returns the list of actions to display in the template.

@Nullable Header

Returns the Header to show in this template.

@Nullable CarIcon

Returns the icon to display in the template.

@NonNull List<CarText>

Returns the list of text below the title.

@Nullable CarText

Returns the title to display in the template.

int
boolean

Returns whether the template is in a loading state.

@NonNull String

Public methods

equals

public boolean equals(@Nullable Object o)

getActions

Added in 1.8.0
public @NonNull List<ActiongetActions()

Returns the list of actions to display in the template.

See also
addAction

getHeader

Added in 1.8.0
public @Nullable Header getHeader()

Returns the Header to show in this template.

See also
setHeader

getIcon

Added in 1.8.0
public @Nullable CarIcon getIcon()

Returns the icon to display in the template.

See also
setIcon

getTexts

Added in 1.8.0
public @NonNull List<CarTextgetTexts()

Returns the list of text below the title.

See also
addText

getTitle

Added in 1.8.0
public @Nullable CarText getTitle()

Returns the title to display in the template.

See also
setTitle

hashCode

public int hashCode()

isLoading

Added in 1.8.0
public boolean isLoading()

Returns whether the template is in a loading state.

See also
setLoading

toString

public @NonNull String toString()