TemplateInfo
@CarProtocol
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 |
|---|
TemplateInfo(templateClass: Class<Template!>, templateId: String)Constructs the info for the given template information provided. |
Public functions |
|
|---|---|
Boolean |
|
Class<Template!> |
Returns the type of template this instance contains. |
String |
Returns the ID of the template. |
Int |
hashCode() |
Public constructors
Public functions
getTemplateClass
Added in 1.0.0
fun getTemplateClass(): Class<Template!>
Returns the type of template this instance contains.
| See also | |
|---|---|
TemplateInfo |
getTemplateId
Added in 1.0.0
fun getTemplateId(): String
Returns the ID of the template.
| See also | |
|---|---|
TemplateInfo |