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
JavaSE Documentation
RoofStatus

Class RoofStatus

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Describes the status of a parameter of roof/convertible roof/sunroof/moonroof etc. If roof is open (AJAR), state will determine percentage of roof open.

Parameter List

Param Name Type Description Required Notes Version Available
location Grid Y
status DoorStatusType Y
state WindowState N

Fields

KEY_LOCATION

public static final java.lang.String KEY_LOCATION
Constant Value
"location"

KEY_STATUS

public static final java.lang.String KEY_STATUS
Constant Value
"status"

KEY_STATE

public static final java.lang.String KEY_STATE
Constant Value
"state"

Inherited Fields

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

Constructors

RoofStatus()

Constructs a new RoofStatus object

public RoofStatus()

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

Constructs a new RoofStatus object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

RoofStatus( Grid location, DoorStatusType status )

Constructs a new RoofStatus object

public RoofStatus(Grid location,DoorStatusType status)

Parameters

location
status

Methods

setLocation( Grid location )

Sets the location.

public com.smartdevicelink.proxy.rpc.RoofStatus setLocation(Grid location)

Parameters

location

getLocation()

Gets the location.

public com.smartdevicelink.proxy.rpc.Grid getLocation()

setStatus( DoorStatusType status )

Sets the status.

public com.smartdevicelink.proxy.rpc.RoofStatus setStatus(DoorStatusType status)

Parameters

status

getStatus()

Gets the status.

public com.smartdevicelink.proxy.rpc.enums.DoorStatusType getStatus()

setState( WindowState state )

Sets the state.

public com.smartdevicelink.proxy.rpc.RoofStatus setState(WindowState state)

Parameters

state

getState()

Gets the state.

public com.smartdevicelink.proxy.rpc.WindowState getState()

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