summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLGetInteriorVehicleDataConsent.h
blob: b3ab2342a1b6b9897c3f8b20fd8af966b3c88ef4 (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
//
//  SDLGetInteriorVehicleDataConsent.h
//  SmartDeviceLink
//
//  Created by standa1 on 7/25/19.
//  Copyright © 2019 smartdevicelink. All rights reserved.
//

#import "SDLRPCRequest.h"
#import "SDLModuleType.h"

NS_ASSUME_NONNULL_BEGIN


/// This RPC allows you to get consent to control a certian module
///
/// @since RPC 6.0
@interface SDLGetInteriorVehicleDataConsent : SDLRPCRequest

/// Convenience init to get consent to control a module
///
/// @param moduleType The module type that the app requests to control
/// @param moduleIds Ids of a module of same type, published by System Capability
/// @return An SDLGetInteriorVehicleDataConsent object
- (instancetype)initWithModuleType:(SDLModuleType)moduleType moduleIds:(NSArray<NSString *> *)moduleIds;

/**
 * The module type that the app requests to control.
 *
 * Required
 */
@property (strong, nonatomic) SDLModuleType moduleType;

/**
 * Ids of a module of same type, published by System Capability.
 *
 * Required
 */
@property (strong, nonatomic) NSArray<NSString *> *moduleIds;

@end

NS_ASSUME_NONNULL_END