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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
// SDLSubscribeVehicleData.h
//
#import "SDLRPCRequest.h"
/**
* Subscribes for specific published vehicle data items. The data will be only
* sent, if it has changed. The application will be notified by the
* onVehicleData notification whenever new data is available. The update rate is
* very much dependent on sensors, vehicle architecture and vehicle type. Be
* also prepared for the situation that a signal is not available on a vehicle
* <p>
* Function Group: Location, VehicleInfo and DrivingChara
* <p>
* <b>HMILevel needs to be FULL, LIMITED or BACKGROUND</b>
* </p>
*
* Since SmartDeviceLink 2.0<br/>
* See SDLUnsubscribeVehicleData SDLGetVehicleData
*/
@interface SDLSubscribeVehicleData : SDLRPCRequest
- (instancetype)initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition airbagStatus:(BOOL)airbagStatus beltStatus:(BOOL)beltStatus bodyInformation:(BOOL)bodyInformation clusterModeStatus:(BOOL)clusterModeStatus deviceStatus:(BOOL)deviceStatus driverBraking:(BOOL)driverBraking eCallInfo:(BOOL)eCallInfo emergencyEvent:(BOOL)emergencyEvent engineTorque:(BOOL)engineTorque externalTemperature:(BOOL)externalTemperature fuelLevel:(BOOL)fuelLevel fuelLevelState:(BOOL)fuelLevelState gps:(BOOL)gps headLampStatus:(BOOL)headLampStatus instantFuelConsumption:(BOOL)instantFuelConsumption myKey:(BOOL)myKey odometer:(BOOL)odometer prndl:(BOOL)prndl rpm:(BOOL)rpm speed:(BOOL)speed steeringWheelAngle:(BOOL)steeringWheelAngle tirePressure:(BOOL)tirePressure wiperStatus:(BOOL)wiperStatus;
/**
* @abstract A boolean value. If true, subscribes Gps data
*/
@property (strong) NSNumber<SDLBool> *gps;
/**
* @abstract A boolean value. If true, subscribes speed data
*/
@property (strong) NSNumber<SDLBool> *speed;
/**
* @abstract A boolean value. If true, subscribes rpm data
*/
@property (strong) NSNumber<SDLBool> *rpm;
/**
* @abstract A boolean value. If true, subscribes FuelLevel data
*/
@property (strong) NSNumber<SDLBool> *fuelLevel;
/**
* @abstract A boolean value. If true, subscribes fuelLevel_State data
*/
@property (strong) NSNumber<SDLBool> *fuelLevel_State;
/**
* @abstract A boolean value. If true, subscribes instantFuelConsumption data
*/
@property (strong) NSNumber<SDLBool> *instantFuelConsumption;
/**
* @abstract A boolean value. If true, subscribes externalTemperature data
*/
@property (strong) NSNumber<SDLBool> *externalTemperature;
/**
* @abstract A boolean value. If true, subscribes Currently selected gear data
*/
@property (strong) NSNumber<SDLBool> *prndl;
/**
* @abstract A boolean value. If true, subscribes tire pressure status data
*/
@property (strong) NSNumber<SDLBool> *tirePressure;
/**
* @abstract A boolean value. If true, subscribes odometer data
*/
@property (strong) NSNumber<SDLBool> *odometer;
/**
* @abstract A boolean value. If true, subscribes belt Status data
*/
@property (strong) NSNumber<SDLBool> *beltStatus;
/**
* @abstract A boolean value. If true, subscribes body Information data
*/
@property (strong) NSNumber<SDLBool> *bodyInformation;
/**
* @abstract A boolean value. If true, subscribes device Status data
*/
@property (strong) NSNumber<SDLBool> *deviceStatus;
/**
* @abstract A boolean value. If true, subscribes driver Braking data
*/
@property (strong) NSNumber<SDLBool> *driverBraking;
/**
* @abstract A boolean value. If true, subscribes wiper Status data
*/
@property (strong) NSNumber<SDLBool> *wiperStatus;
/**
* @abstract A boolean value. If true, subscribes Head Lamp Status data
*/
@property (strong) NSNumber<SDLBool> *headLampStatus;
/**
* @abstract A boolean value. If true, subscribes Engine Torque data
*/
@property (strong) NSNumber<SDLBool> *engineTorque;
/**
* @abstract A boolean value. If true, means the accPedalPosition data has been
* subscribed.
*/
@property (strong) NSNumber<SDLBool> *accPedalPosition;
/**
* @abstract A boolean value. If true, means the steeringWheelAngle data has been
* subscribed.
*/
@property (strong) NSNumber<SDLBool> *steeringWheelAngle;
@property (strong) NSNumber<SDLBool> *eCallInfo;
@property (strong) NSNumber<SDLBool> *airbagStatus;
@property (strong) NSNumber<SDLBool> *emergencyEvent;
@property (strong) NSNumber<SDLBool> *clusterModeStatus;
@property (strong) NSNumber<SDLBool> *myKey;
@end
|