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

OnDriverDistraction

Type
Notification
Sender
HMI
Purpose
Inform SDL about changes to the Driver Distraction state.

Notification

Must
  1. Inform SDL whenever the driver distraction mode is activated/deactivated on HMI.

Driver distraction rules may be specific to country/area, so it depends on HMI when to trigger activate/deactivate states.

Note

1. Whether the app receives the notification in current HMILevel is defined by app's assigned Policies.
2. SDL ignores all invalid notifications which come from HMI (invalid JSON, invalid data types/bounds etc).

Parameters

Name Type Mandatory Additional
state Common.DriverDistractionState true

Sequence Diagrams

JSON Example Notification

{
  "jsonrpc" : "2.0",
  "method" : "UI.OnDriverDistraction",
  "params" :
  {
    "state" : "DD_ON"
  }
}
View on GitHub.com
Previous Section Next Section