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
OnTouchEvent

OnTouchEvent

Type
Notification
Sender
HMI
Purpose
Inform SDL that a touch event has occurred in the HMI.

Notification

Parameters

Name Type Mandatory Additional
type Common.TouchType true
event Common.TouchEvent true array: true
minsize: 1
maxsize: 10

Sequence Diagrams

JSON Message Examples

Example Notification

{
  "jsonrpc" : "2.0",
  "method" : "UI.OnTouchEvent",
  "params" :
  {
    "type" : "BEGIN",
      "event" :[
             {
                "id":0,
                "ts":[49013],
                "c":[{"x":323,"y":259}]
              }
            ]
  }
}
View on GitHub.com
Previous Section Next Section