summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLMassageCushionFirmness.h
blob: d8bb5d48caa6d921c139041d81158ff1294c5575 (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
//  SDLMassageCushionFirmness.h
//

#import "SDLRPCStruct.h"
#import "SDLMassageCushion.h"
/**
 * The intensity or firmness of a cushion.
 */

NS_ASSUME_NONNULL_BEGIN
@interface SDLMassageCushionFirmness : SDLRPCStruct


/**
 Constructs a newly allocated SDLMassageCushionFirmness object with cushion and firmness

 @param cushion The cushion type for a multi-contour massage seat
 @param firmness The firmness value for the multi-contour massage seat, MinValue: 0 MaxValue: 100
 @return An instance of the SDLMassageCushionFirmness class
 */
- (instancetype)initWithMassageCushion:(SDLMassageCushion)cushion firmness:(UInt8)firmness;

/**
 * @abstract cushion of a multi-contour massage seat.
 *
 * @see SDLMassageCushion
 */
@property (strong, nonatomic) SDLMassageCushion cushion;

/**
 * @abstract zone of a multi-contour massage seat.
 *
 * Required, MinValue: 0 MaxValue: 100
 *
 */
@property (strong, nonatomic) NSNumber<SDLInt> *firmness;
@end

NS_ASSUME_NONNULL_END