TabContents
@CarProtocol
@RequiresCarApi(value = 6)
public class TabContents implements 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 |
|---|
public final class TabContents.BuilderA builder of |
Constants |
|
|---|---|
static final String |
CONTENT_ID = "TAB_CONTENTS_CONTENT_ID"Content ID for TabContents |
Public methods |
|
|---|---|
boolean |
|
@NonNull String |
Returns the static content ID associated with TabContents. |
@NonNull Template |
Returns the wrapped |
int |
hashCode() |
@NonNull String |
toString() |
Constants
CONTENT_ID
public static final String CONTENT_ID = "TAB_CONTENTS_CONTENT_ID"
Content ID for TabContents
This Content ID will be used to refresh the displayed template in the TabContents.
Public methods
getContentId
public @NonNull String getContentId()
Returns the static content ID associated with TabContents.
| See also | |
|---|---|
CONTENT_ID |
getTemplate
public @NonNull Template getTemplate()
Returns the wrapped Template to display as the contents.