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


#import "SDLRPCRequest.h"

/**
 * This function is used to unsubscribe the notifications from the
 * subscribeVehicleData function
 * <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 SDLSubscribeVehicleData SDLGetVehicleData
 */

NS_ASSUME_NONNULL_BEGIN

@interface SDLUnsubscribeVehicleData : 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, unsubscribes Gps data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *gps;

/**
 * @abstract A boolean value. If true, unsubscribes speed data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *speed;

/**
 * @abstract A boolean value. If true, unsubscribe data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;

/**
 * @abstract A boolean value. If true, unsubscribes FuelLevel data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;

/**
 * @abstract A boolean value. If true, unsubscribes fuelLevel_State data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel_State;

/**
 * @abstract A boolean value. If true, unsubscribes instantFuelConsumption data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *instantFuelConsumption;

/**
 * @abstract A boolean value. If true, unsubscribes externalTemperature data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *externalTemperature;

/**
 * @abstract A boolean value. If true, unsubscribes Currently selected gear data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;

/**
 * @abstract A boolean value. If true, unsubscribes tire pressure status data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *tirePressure;

/**
 * @abstract A boolean value. If true, unsubscribes odometer data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;

/**
 * @abstract A boolean value. If true, unsubscribes belt Status data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;

/**
 * @abstract A boolean value. If true, unsubscribes body Information data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *bodyInformation;

/**
 * @abstract A boolean value. If true, unsubscribes device Status data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *deviceStatus;

/**
 * @abstract A boolean value. If true, unsubscribes driver Braking data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *driverBraking;

/**
 * @abstract A boolean value. If true, unsubscribes wiper Status data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *wiperStatus;

/**
 * @abstract A boolean value. If true, unsubscribes Head Lamp Status data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *headLampStatus;

/**
 * @abstract A boolean value. If true, unsubscribes Engine Torque data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *engineTorque;

/**
 * @abstract A boolean value. If true, unsubscribes accPedalPosition data
 */
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *accPedalPosition;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *steeringWheelAngle;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *airbagStatus;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *emergencyEvent;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *clusterModeStatus;
@property (strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;

@end

NS_ASSUME_NONNULL_END