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
Android Documentation
SeatOccupancy

Class SeatOccupancy

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Parameter List

Param Name Type Description Required Notes Version Available
seatsOccupied List Seat status array containing location and whether the seats are occupied. N {"array_min_size": 0, "array_max_size": 100}
seatsBelted List Seat status array containing location and whether the seats are belted. N {"array_min_size": 0, "array_max_size": 100}

Fields

KEY_SEATS_OCCUPIED

public static final java.lang.String KEY_SEATS_OCCUPIED
Constant Value
"seatsOccupied"

KEY_SEATS_BELTED

public static final java.lang.String KEY_SEATS_BELTED
Constant Value
"seatsBelted"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

SeatOccupancy()

Constructs a new SeatOccupancy object

public SeatOccupancy()

SeatOccupancy( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new SeatOccupancy object indicated by the Hashtable parameter

public SeatOccupancy(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

setSeatsOccupied( java.util.List<com.smartdevicelink.proxy.rpc.SeatStatus> seatsOccupied )

Sets the seatsOccupied.

public com.smartdevicelink.proxy.rpc.SeatOccupancy setSeatsOccupied(java.util.List<com.smartdevicelink.proxy.rpc.SeatStatus> seatsOccupied)

Method Parameters

seatsOccupied
Seat status array containing location and whether the seats are occupied. {"array_min_size": 0, "array_max_size": 100}

getSeatsOccupied()

Gets the seatsOccupied.

public java.util.List getSeatsOccupied()

setSeatsBelted( java.util.List<com.smartdevicelink.proxy.rpc.SeatStatus> seatsBelted )

Sets the seatsBelted.

public com.smartdevicelink.proxy.rpc.SeatOccupancy setSeatsBelted(java.util.List<com.smartdevicelink.proxy.rpc.SeatStatus> seatsBelted)

Method Parameters

seatsBelted
Seat status array containing location and whether the seats are belted. {"array_min_size": 0, "array_max_size": 100}

getSeatsBelted()

Gets the seatsBelted.

public java.util.List getSeatsBelted()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section