summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLPermissionItem.h
blob: 1b363b068cebc25e4bb451306b93d65852234652 (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
40
41
42
43
//  SDLPermissionItem.h
//

#import "SDLRPCMessage.h"

@class SDLHMIPermissions;
@class SDLParameterPermissions;

NS_ASSUME_NONNULL_BEGIN

@interface SDLPermissionItem : SDLRPCStruct

/**
 Name of the individual RPC in the policy table.

 Required
 */
@property (strong, nonatomic) NSString *rpcName;

/**
 HMI Permissions for the individual RPC; i.e. which HMI levels may it be used in

 Required
 */
@property (strong, nonatomic) SDLHMIPermissions *hmiPermissions;

/**
 RPC parameters for the individual RPC

 Required
 */
@property (strong, nonatomic) SDLParameterPermissions *parameterPermissions;

/**
 Describes whether or not the RPC needs encryption
 
 Optional, Boolean, since SDL 6.0
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *requireEncryption;

@end

NS_ASSUME_NONNULL_END