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

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 Example Notification

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