TemplateInfo
@CarProtocol
public final class TemplateInfo
Stores information about Template returned from a androidx.car.app.Screen.
This class is for use by host implementations and not by apps.
Summary
Public constructors |
|---|
|
Constructs the info for the given template information provided. |
Public methods |
|
|---|---|
boolean |
|
@NonNull Class<Template> |
Returns the type of template this instance contains. |
@NonNull String |
Returns the ID of the template. |
int |
hashCode() |
Public constructors
Public methods
getTemplateClass
Added in 1.0.0
public @NonNull Class<Template> getTemplateClass()
Returns the type of template this instance contains.
| See also | |
|---|---|
TemplateInfo |
getTemplateId
Added in 1.0.0
public @NonNull String getTemplateId()
Returns the ID of the template.
| See also | |
|---|---|
TemplateInfo |