TabContents


@CarProtocol
@RequiresCarApi(value = 6)
class TabContents : Content


Represents the contents to display for a selected tab in a TabTemplate. Only certain templates may be used as content. See Builder for more details.

Summary

Nested types

A builder of TabContents.

Constants

const String!
CONTENT_ID = "TAB_CONTENTS_CONTENT_ID"

Content ID for TabContents

Public functions

Boolean
equals(other: Any?)
String

Returns the static content ID associated with TabContents.

Template

Returns the wrapped Template to display as the contents.

Int
String

Constants

CONTENT_ID

Added in 1.3.0
const val CONTENT_ID = "TAB_CONTENTS_CONTENT_ID": String!

Content ID for TabContents

This Content ID will be used to refresh the displayed template in the TabContents.

Public functions

equals

fun equals(other: Any?): Boolean

getContentId

Added in 1.7.0-beta02
fun getContentId(): String

Returns the static content ID associated with TabContents.

See also
CONTENT_ID

getTemplate

Added in 1.3.0
fun getTemplate(): Template

Returns the wrapped Template to display as the contents.

hashCode

fun hashCode(): Int

toString

fun toString(): String