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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
TouchCoord

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)

Constructor Parameters

hash
The Hashtable to use

TouchCoord( Integer x, Integer y )

Constructs a new TouchCoord object

public TouchCoord(Integer x,Integer y)

Constructor Parameters

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

Methods

setX( Integer x )

public com.smartdevicelink.proxy.rpc.TouchCoord setX(Integer x)

Method Parameters

x

getX()

public java.lang.Integer getX()

setY( Integer y )

public com.smartdevicelink.proxy.rpc.TouchCoord setY(Integer y)

Method Parameters

y

getY()

public java.lang.Integer getY()

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