summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLHMIPermissions.h
blob: a37f867e6bb80d54f4a99b86fedb71182cdfe6b2 (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
34
35
36
37
38
39
//  SDLHMIPermissions.h
//


#import "SDLRPCMessage.h"

#import "SDLHMILevel.h"

/**
 * Defining sets of HMI levels, which are permitted or prohibited for a given RPC.
 * 
 * @since SDL 2.0
 */

NS_ASSUME_NONNULL_BEGIN

@interface SDLHMIPermissions : SDLRPCStruct

/**
 * @abstract a set of all HMI levels that are permitted for this given RPC
 *
 * @see SDLHMILevel
 *
 * Required, Array of SDLHMILevel, Array size 0 - 100
 */
@property (strong, nonatomic) NSMutableArray<SDLHMILevel> *allowed;

/**
 * @abstract a set of all HMI levels that are prohibited for this given RPC
 * 
 * @see SDLHMILevel
 *
 * Required, Array of SDLHMILevel, Array size 0 - 100
 */
@property (strong, nonatomic) NSMutableArray<SDLHMILevel> *userDisallowed;

@end

NS_ASSUME_NONNULL_END