summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnDriverDistraction.h
blob: d7f369348e664a19f50584ef866349c53a4845fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//  SDLOnDriverDistraction.h
//

#import "SDLRPCNotification.h"

#import "SDLDriverDistractionState.h"

/**
 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
 */

NS_ASSUME_NONNULL_BEGIN

@interface SDLOnDriverDistraction : SDLRPCNotification

/**
 The driver distraction state (i.e. whether driver distraction rules are in effect, or not)
 */
@property (strong, nonatomic) SDLDriverDistractionState state;

@end

NS_ASSUME_NONNULL_END