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

WindowStatus Class Reference

Constructors

Instance Methods

Constructors

new WindowStatus(parameters)

Initializes an instance of WindowStatus.

Instance Methods

windowStatus.getLocation() ⇒ Grid

Get the Location

Kind: Instance method of WindowStatus
Returns: Grid - the KEY_LOCATION value

windowStatus.getState() ⇒ WindowState

Get the State

Kind: Instance method of WindowStatus
Returns: WindowState - the KEY_STATE value

windowStatus.setLocation(location) ⇒ WindowStatus

Set the Location

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

ParamTypeDescription
location Grid Describes a location (origin coordinates and span) of a vehicle component. - The desired Location.

windowStatus.setState(state) ⇒ WindowStatus

Set the State

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

ParamTypeDescription
state WindowState The desired State.
View on GitHub.com