public class WindowState extends 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 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_APPROXIMATE_POSITION |
static String |
KEY_DEVIATION |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
WindowState()
Constructs a new WindowState object
|
WindowState(Hashtable<String,Object> hash)
Constructs a new WindowState object indicated by the Hashtable parameter
|
WindowState(Integer approximatePosition,
Integer deviation)
Constructs a new WindowState object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getApproximatePosition()
Gets the approximatePosition.
|
Integer |
getDeviation()
Gets the deviation.
|
WindowState |
setApproximatePosition(Integer approximatePosition)
Sets the approximatePosition.
|
WindowState |
setDeviation(Integer deviation)
Sets the deviation.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_APPROXIMATE_POSITION
public static final String KEY_DEVIATION
public WindowState()
public WindowState(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic WindowState(@NonNull
Integer approximatePosition,
@NonNull
Integer deviation)
approximatePosition - The approximate percentage that the window is open - 0 being fully closed, 100 being fully
opendeviation - 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.public WindowState setApproximatePosition(@NonNull Integer approximatePosition)
approximatePosition - The approximate percentage that the window is open - 0 being fully closed, 100 being fully
openpublic Integer getApproximatePosition()
public WindowState setDeviation(@NonNull Integer deviation)
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.public Integer getDeviation()