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
SetDisplayLayout

SetDisplayLayout Class Reference

Constructors

Instance Methods

Constructors

new SetDisplayLayout(parameters)

Initializes an instance of SetDisplayLayout.

Instance Methods

setDisplayLayout.getDayColorScheme() ⇒ TemplateColorScheme

Get the DayColorScheme

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

setDisplayLayout.getDisplayLayout() ⇒ String

Get the DisplayLayout

Kind: Instance method of SetDisplayLayout
Returns: String - the KEY_DISPLAY_LAYOUT value

setDisplayLayout.getNightColorScheme() ⇒ TemplateColorScheme

Get the NightColorScheme

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

setDisplayLayout.setDayColorScheme(scheme) ⇒ SetDisplayLayout

Set the DayColorScheme

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

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

setDisplayLayout.setDisplayLayout(layout) ⇒ SetDisplayLayout

Set the DisplayLayout

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

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

setDisplayLayout.setNightColorScheme(scheme) ⇒ SetDisplayLayout

Set the NightColorScheme

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

ParamTypeDescription
scheme TemplateColorScheme A color scheme for all display layout templates. - The desired NightColorScheme.
View on GitHub.com
Previous Section Next Section