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

OnCommand

Type
Notification
Sender
HMI
Purpose
Inform SDL that an application's VR command was recognized.

Notification

Parameters

Name Type Mandatory Additional
cmdID Integer true minvalue: 0
maxvalue: 2000000000
appID Integer true

Sequence Diagrams

JSON Example Notification

{
  "jsonrpc" : "2.0",
  "method" : "VR.OnCommand",
  "params" :
  {
    "cmdID" : 4365,
      "grammarID" : 11,
      "appID" : 12564
  }
}
View on GitHub.com
Previous Section Next Section