-
Notifications
You must be signed in to change notification settings - Fork 105
/
SDLSeatLocationCapability.h
55 lines (44 loc) 路 1.31 KB
/
SDLSeatLocationCapability.h
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
44
45
46
47
48
49
50
51
52
53
54
55
//
// SDLSeatLocationCapability.h
// SmartDeviceLink
//
// Created by standa1 on 7/11/19.
// Copyright 漏 2019 smartdevicelink. All rights reserved.
//
#import "SDLRPCMessage.h"
#import "SDLSeatLocation.h"
NS_ASSUME_NONNULL_BEGIN
/**
* Contains information about the locations of each seat.
*/
@interface SDLSeatLocationCapability : SDLRPCStruct
/// Constructs a newly allocated SDLSeatLocationCapability object with all parameters
///
/// @param seats Describes the location of a seat
/// @param cols Number of columns
/// @param rows Number of rows
/// @param levels Number of levels
/// @return An SDLSeatLocationCapability object
- (instancetype)initWithSeats:(NSArray<SDLSeatLocation *> *)seats cols:(NSNumber<SDLInt> *)cols rows:(NSNumber<SDLInt> *)rows levels:(NSNumber<SDLInt> *)levels;
/**
*
* Optional, Integer, 1 - 100
*/
@property (strong, nonatomic, nullable) NSNumber<SDLInt> *cols;
/**
*
* Optional, Integer, 1 - 100
*/
@property (strong, nonatomic, nullable) NSNumber<SDLInt> *rows;
/**
*
* Optional, Integer, 1 - 100
*/
@property (strong, nonatomic, nullable) NSNumber<SDLInt> *levels;
/**
* Contains a list of SeatLocation in the vehicle, the first element is the driver's seat
* Optional
*/
@property (strong, nonatomic, nullable) NSArray<SDLSeatLocation *> *seats;
@end
NS_ASSUME_NONNULL_END