summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnPermissionsChange.h
blob: 244bbc08f4e33c045c2336e26117648df290a113 (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
//  SDLOnPermissionsChange.h
//

#import "SDLRPCNotification.h"

@class SDLPermissionItem;

/**
 * Provides update to app of which sets of functions are available
 *
 * @since SDL 2.0
 */

NS_ASSUME_NONNULL_BEGIN

@interface SDLOnPermissionsChange : SDLRPCNotification

/**
 Describes change in permissions for a given set of RPCs

 Required, Array of SDLPermissionItem, Array size 0 - 500
 */
@property (strong, nonatomic) NSArray<SDLPermissionItem *> *permissionItem;

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

@end

NS_ASSUME_NONNULL_END