summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLightControlData.h
blob: 49d2fe692c658fef4e3ccbfb96aafd04d38e42c2 (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
//  SDLLightControlData.h
//

#import "SDLRPCMessage.h"

@class SDLLightState;

NS_ASSUME_NONNULL_BEGIN

@interface SDLLightControlData : SDLRPCStruct

/**
 Constructs a newly allocated SDLLightControlData object with lightState

 @param lightState An array of LightNames and their current or desired status
 @return An instance of the SDLLightControlData class
 */
- (instancetype)initWithLightStates:(NSArray<SDLLightState *> *)lightState;

/**
 * @abstract An array of LightNames and their current or desired status.
 * Status of the LightNames that are not listed in the array shall remain unchanged.
 *
 * Required, NSArray of type SDLLightState minsize="1" maxsize="100"
 */
@property (strong, nonatomic) NSArray<SDLLightState *> *lightState;

@end

NS_ASSUME_NONNULL_END