java.lang.Object
com.smartdevicelink.proxy.RPCStruct
Parameter List
Param Name | Type | Description | Required | Version Available |
---|---|---|---|---|
approximatePosition | Integer | The approximate percentage that the window is open - 0 being fully closed, 100 being fully open | Y | |
deviation | Integer | The percentage deviation of the approximatePosition. e.g. If the approximatePosition is 50and the deviation is 10, then the window's location is somewhere between 40 and 60. | Y |
public static final java.lang.String KEY_APPROXIMATE_POSITION
public static final java.lang.String KEY_DEVIATION
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
Constructs a new WindowState object
public WindowState()
Constructs a new WindowState object indicated by the Hashtable parameter
public WindowState(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a new WindowState object
public WindowState(Integer approximatePosition,Integer deviation)
Sets the approximatePosition.
public com.smartdevicelink.proxy.rpc.WindowState setApproximatePosition(Integer approximatePosition)
Gets the approximatePosition.
public java.lang.Integer getApproximatePosition()
Sets the deviation.
public com.smartdevicelink.proxy.rpc.WindowState setDeviation(Integer deviation)
Gets the deviation.
public java.lang.Integer getDeviation()
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 |