Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class TouchCoord

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

The x or y coordinate of the touch.

Parameter List

Name Type Description Reg. Notes Version
x Integer The x coordinate of the touch. Y minvalue = 0; maxvalue = 10000 SmartDeviceLink 3.0
y Integer The y coordinate of the touch. Y minvalue = 0; maxvalue = 10000 SmartDeviceLink 3.0

Fields

KEY_X

public static final java.lang.String KEY_X
Constant Value
"x"

KEY_Y

public static final java.lang.String KEY_Y
Constant Value
"y"

Inherited Fields

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

Constructors

TouchCoord()

public TouchCoord()

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

Constructs a new TouchCoord object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

TouchCoord( Integer x, Integer y )

Constructs a new TouchCoord object

public TouchCoord(Integer x,Integer y)

Parameters

x
The x coordinate of the touch.
y
The y coordinate of the touch.

Methods

setX( Integer x )

public void setX(Integer x)

Parameters

x

getX()

public java.lang.Integer getX()

setY( Integer y )

public void setY(Integer y)

Parameters

y

getY()

public java.lang.Integer getY()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, 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