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

OnButtonEvent

Type
Notification
Sender
HMI
Purpose
Inform SDL about the occurrence of a button event.

Notification

Parameters

Name Type Mandatory Additional
name Common.ButtonName true
mode Common.ButtonEventMode true
customButtonID Integer false minvalue: 0
maxvalue: 65536
appID Integer false

Sequence Diagrams

JSON Example Notification

{
  "jsonrpc" : "2.0",
  "method" : "Buttons.OnButtonEvent",
  "params" :
  {
    "name" : OK,
    "mode" : BUTTONDOWN,
  }
}
View on GitHub.com
Previous Section Next Section