TemplateInfo

@CarProtocol
class TemplateInfo


Stores information about Template returned from a .

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
equals(other: Any?)
Class<Template!>

Returns the type of template this instance contains.

String

Returns the ID of the template.

Int

Public constructors

TemplateInfo

Added in 1.0.0
TemplateInfo(templateClass: Class<Template!>, templateId: String)

Constructs the info for the given template information provided.

Parameters
templateClass: Class<Template!>

the class of the template this info is for

templateId: String

the unique id for the template

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

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

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int