Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

TemplateConfiguration Class Reference

Constructors

Instance Methods

Constructors

new TemplateConfiguration(parameters)

Initializes an instance of TemplateConfiguration.

Instance Methods

templateConfiguration.getDayColorScheme() ⇒ TemplateColorScheme

Get the DayColorScheme

Kind: Instance method of TemplateConfiguration
Returns: TemplateColorScheme - the KEY_DAY_COLOR_SCHEME value

templateConfiguration.getNightColorScheme() ⇒ TemplateColorScheme

Get the NightColorScheme

Kind: Instance method of TemplateConfiguration
Returns: TemplateColorScheme - the KEY_NIGHT_COLOR_SCHEME value

templateConfiguration.getTemplate() ⇒ String

Get the Template

Kind: Instance method of TemplateConfiguration
Returns: String - the KEY_TEMPLATE value

templateConfiguration.getTemplateParam() ⇒ String

Get the TemplateParam

Kind: Instance method of TemplateConfiguration
Returns: String - the KEY_TEMPLATE value

templateConfiguration.setDayColorScheme(scheme) ⇒ TemplateConfiguration

Set the DayColorScheme

Kind: Instance method of TemplateConfiguration
Returns: TemplateConfiguration - The class instance for method chaining.

ParamTypeDescription
scheme TemplateColorScheme A color scheme for all display layout templates. - The desired DayColorScheme.

templateConfiguration.setNightColorScheme(scheme) ⇒ TemplateConfiguration

Set the NightColorScheme

Kind: Instance method of TemplateConfiguration
Returns: TemplateConfiguration - The class instance for method chaining.

ParamTypeDescription
scheme TemplateColorScheme A color scheme for all display layout templates. - The desired NightColorScheme.

templateConfiguration.setTemplate(template) ⇒ TemplateConfiguration

Set the Template

Kind: Instance method of TemplateConfiguration
Returns: TemplateConfiguration - The class instance for method chaining.

ParamTypeDescription
template String Predefined or dynamically created window template. Currently only predefined window template layouts are defined. - The desired Template. {'string_min_length': 1, 'string_max_length': 500}

templateConfiguration.setTemplateParam(template) ⇒ TemplateConfiguration

Set the TemplateParam

Kind: Instance method of TemplateConfiguration
Returns: TemplateConfiguration - The class instance for method chaining.

ParamTypeDescription
template String Predefined or dynamically created window template. Currently only predefined window template layouts are defined. - The desired TemplateParam. {'string_min_length': 1, 'string_max_length': 500}
View on GitHub.com