Tab
@CarProtocol
@RequiresCarApi(value = 6)
class Tab : Content
Represents a tab with a title and an image. Tab instances are used by TabTemplate to display tab headers.
Summary
Nested types |
|---|
class Tab.BuilderA builder of |
Public functions |
|
|---|---|
Boolean |
|
String |
Returns the content ID associated with the tab. |
CarIcon |
getIcon()Returns the image to display in the tab |
CarText |
getTitle()Returns the title of the tab. |
Int |
hashCode() |
String |
toString() |
Public functions
getContentId
fun getContentId(): String
Returns the content ID associated with the tab.
| See also | |
|---|---|
setContentId |