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
Documentation
WindowState

Class WindowState

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

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

Fields

KEY_APPROXIMATE_POSITION

public static final java.lang.String KEY_APPROXIMATE_POSITION
Constant Value
"approximatePosition"

KEY_DEVIATION

public static final java.lang.String KEY_DEVIATION
Constant Value
"deviation"

Inherited Fields

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

Constructors

WindowState()

Constructs a new WindowState object

public WindowState()

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

Constructs a new WindowState object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

WindowState( Integer approximatePosition, Integer deviation )

Constructs a new WindowState object

public WindowState(Integer approximatePosition,Integer deviation)

Parameters

approximatePosition
The approximate percentage that the window is open - 0 being fully closed, 100 being fully open
deviation
The percentage deviation of the approximatePosition. e.g. If the approximatePosition is 50 and the deviation is 10, then the window's location is somewhere between 40 and 60.

Methods

setApproximatePosition( Integer approximatePosition )

Sets the approximatePosition.

public com.smartdevicelink.proxy.rpc.WindowState setApproximatePosition(Integer approximatePosition)

Parameters

approximatePosition
The approximate percentage that the window is open - 0 being fully closed, 100 being fully open

getApproximatePosition()

Gets the approximatePosition.

public java.lang.Integer getApproximatePosition()

setDeviation( Integer deviation )

Sets the deviation.

public com.smartdevicelink.proxy.rpc.WindowState setDeviation(Integer deviation)

Parameters

deviation
The percentage deviation of the approximatePosition. e.g. If the approximatePosition is 50 and the deviation is 10, then the window's location is somewhere between 40 and 60.

getDeviation()

Gets the deviation.

public java.lang.Integer getDeviation()

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
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section