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

SeatLocationCapability Class Reference

Constructors

Instance Methods

Constructors

new SeatLocationCapability(parameters)

Initializes an instance of SeatLocationCapability.

Instance Methods

seatLocationCapability.getColumns() ⇒ Number

Get the Columns

Kind: Instance method of SeatLocationCapability
Returns: Number - the KEY_COLUMNS value

seatLocationCapability.getLevels() ⇒ Number

Get the Levels

Kind: Instance method of SeatLocationCapability
Returns: Number - the KEY_LEVELS value

seatLocationCapability.getRows() ⇒ Number

Get the Rows

Kind: Instance method of SeatLocationCapability
Returns: Number - the KEY_ROWS value

seatLocationCapability.getSeats() ⇒ Array.<SeatLocation>

Get the Seats

Kind: Instance method of SeatLocationCapability
Returns: Array.<SeatLocation> - the KEY_SEATS value

seatLocationCapability.setColumns(columns) ⇒ SeatLocationCapability

Set the Columns

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

ParamTypeDescription
columns Number The desired Columns. {'num_min_value': 1, 'num_max_value': 100}

seatLocationCapability.setLevels(levels) ⇒ SeatLocationCapability

Set the Levels

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

ParamTypeDescription
levels Number The desired Levels. {'default_value': 1, 'num_min_value': 1, 'num_max_value': 100}

seatLocationCapability.setRows(rows) ⇒ SeatLocationCapability

Set the Rows

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

ParamTypeDescription
rows Number The desired Rows. {'num_min_value': 1, 'num_max_value': 100}

seatLocationCapability.setSeats(seats) ⇒ SeatLocationCapability

Set the Seats

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

ParamTypeDescription
seats Array.<SeatLocation> Contains a list of SeatLocation in the vehicle - The desired Seats.
View on GitHub.com