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
SeatOccupancy

SeatOccupancy Class Reference

Constructors

Instance Methods

Constructors

new SeatOccupancy(parameters)

Initializes an instance of SeatOccupancy.

Instance Methods

seatOccupancy.getSeatsBelted() ⇒ Array.<SeatStatus>

Get the SeatsBelted

Kind: Instance method of SeatOccupancy
Returns: Array.<SeatStatus> - the KEY_SEATS_BELTED value

seatOccupancy.getSeatsOccupied() ⇒ Array.<SeatStatus>

Get the SeatsOccupied

Kind: Instance method of SeatOccupancy
Returns: Array.<SeatStatus> - the KEY_SEATS_OCCUPIED value

seatOccupancy.setSeatsBelted(belted) ⇒ SeatOccupancy

Set the SeatsBelted

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

ParamTypeDescription
belted Array.<SeatStatus> Seat status array containing location and whether the seats are belted. - The desired SeatsBelted. {'array_min_size': 0, 'array_max_size': 100}

seatOccupancy.setSeatsOccupied(occupied) ⇒ SeatOccupancy

Set the SeatsOccupied

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

ParamTypeDescription
occupied Array.<SeatStatus> Seat status array containing location and whether the seats are occupied. - The desired SeatsOccupied. {'array_min_size': 0, 'array_max_size': 100}
View on GitHub.com
Previous Section Next Section