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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
OnDriverDistraction

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 Message Examples

Example Notification

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