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

SDLOnDriverDistraction Class Reference

Section Contents

Overview

Notifies the application of the current driver distraction state (whether driver distraction rules are in effect, or not).

HMI Status Requirements:

HMILevel: Can be sent with FULL, LIMITED or BACKGROUND

AudioStreamingState: Any

SystemContext: Any

@since SDL 1.0

state

The driver distraction state (i.e. whether driver distraction rules are in effect, or not)

Objective-C

@property (readwrite, strong, nonatomic)
    SDLDriverDistractionState _Nonnull state;

Swift

var state: SDLDriverDistractionState { get set }
View on GitHub.com
Previous Section Next Section