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

Class OnTouchEvent

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Notifies about touch events on the screen's prescribed area.

Parameter List

Name Type Description Reg. Notes Version
type TouchType The type of touch event. Y SmartDeviceLink 3.0
event TouchEvent List of all individual touches involved in this event. Y minsize:1; maxsize:10 SmartDeviceLink 3.0

Note:

SDL needs to be informed about every User`s touching the touch screen.

Fields

KEY_EVENT

public static final java.lang.String KEY_EVENT
Constant Value
"event"

KEY_TYPE

public static final java.lang.String KEY_TYPE
Constant Value
"type"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

OnTouchEvent()

Constructs a new OnTouchEvent object

public OnTouchEvent()

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

Constructs a new OnTouchEvent object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

OnTouchEvent( TouchType type, java.util.List<com.smartdevicelink.proxy.rpc.TouchEvent> event )

Constructs a new OnTouchEvent object

public OnTouchEvent(TouchType type,java.util.List<com.smartdevicelink.proxy.rpc.TouchEvent> event)

Parameters

type
event

Methods

setType( TouchType type )

public void setType(TouchType type)

Parameters

type

getType()

public com.smartdevicelink.proxy.rpc.enums.TouchType getType()

setEvent( java.util.List<com.smartdevicelink.proxy.rpc.TouchEvent> event )

public void setEvent(java.util.List<com.smartdevicelink.proxy.rpc.TouchEvent> event)

Parameters

event

getEvent()

public java.util.List getEvent()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCMessage getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
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