summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLSubscribeVehicleDataResponse.h')
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleDataResponse.h160
1 files changed, 97 insertions, 63 deletions
diff --git a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
index 55c721ff3..054931b39 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
+++ b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.h
@@ -39,193 +39,234 @@ NS_ASSUME_NONNULL_BEGIN
@interface SDLSubscribeVehicleDataResponse : SDLRPCResponse
/**
- The result of requesting to subscribe to the GPSData.
+ * @param gps - gps
+ * @param speed - speed
+ * @param rpm - rpm
+ * @param fuelLevel - fuelLevel
+ * @param fuelLevel_State - fuelLevel_State
+ * @param instantFuelConsumption - instantFuelConsumption
+ * @param fuelRange - fuelRange
+ * @param externalTemperature - externalTemperature
+ * @param turnSignal - turnSignal
+ * @param prndl - prndl
+ * @param tirePressure - tirePressure
+ * @param odometer - odometer
+ * @param beltStatus - beltStatus
+ * @param bodyInformation - bodyInformation
+ * @param deviceStatus - deviceStatus
+ * @param driverBraking - driverBraking
+ * @param wiperStatus - wiperStatus
+ * @param headLampStatus - headLampStatus
+ * @param engineTorque - engineTorque
+ * @param accPedalPosition - accPedalPosition
+ * @param steeringWheelAngle - steeringWheelAngle
+ * @param engineOilLife - engineOilLife
+ * @param electronicParkBrakeStatus - electronicParkBrakeStatus
+ * @param cloudAppVehicleID - cloudAppVehicleID
+ * @param eCallInfo - eCallInfo
+ * @param airbagStatus - airbagStatus
+ * @param emergencyEvent - emergencyEvent
+ * @param clusterModes - clusterModes
+ * @param myKey - myKey
+ * @return A SDLSubscribeVehicleDataResponse object
+ */
+- (instancetype)initWithGps:(nullable SDLVehicleDataResult *)gps speed:(nullable SDLVehicleDataResult *)speed rpm:(nullable SDLVehicleDataResult *)rpm fuelLevel:(nullable SDLVehicleDataResult *)fuelLevel fuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State instantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption fuelRange:(nullable SDLVehicleDataResult *)fuelRange externalTemperature:(nullable SDLVehicleDataResult *)externalTemperature turnSignal:(nullable SDLVehicleDataResult *)turnSignal prndl:(nullable SDLVehicleDataResult *)prndl tirePressure:(nullable SDLVehicleDataResult *)tirePressure odometer:(nullable SDLVehicleDataResult *)odometer beltStatus:(nullable SDLVehicleDataResult *)beltStatus bodyInformation:(nullable SDLVehicleDataResult *)bodyInformation deviceStatus:(nullable SDLVehicleDataResult *)deviceStatus driverBraking:(nullable SDLVehicleDataResult *)driverBraking wiperStatus:(nullable SDLVehicleDataResult *)wiperStatus headLampStatus:(nullable SDLVehicleDataResult *)headLampStatus engineTorque:(nullable SDLVehicleDataResult *)engineTorque accPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition steeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle engineOilLife:(nullable SDLVehicleDataResult *)engineOilLife electronicParkBrakeStatus:(nullable SDLVehicleDataResult *)electronicParkBrakeStatus cloudAppVehicleID:(nullable SDLVehicleDataResult *)cloudAppVehicleID eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent clusterModes:(nullable SDLVehicleDataResult *)clusterModes myKey:(nullable SDLVehicleDataResult *)myKey;
+
+/**
+ The result of requesting to subscribe to the accelerator pedal position (percentage depressed)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
/**
- The result of requesting to subscribe to the vehicle speed in kilometers per hour.
+ The result of requesting to subscribe to the airbag status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
/**
- The result of requesting to subscribe to the number of revolutions per minute of the engine.
+ The result of requesting to subscribe to the status of the seat belts.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
/**
- The result of requesting to subscribe to the fuel level in the tank (percentage)
+ The result of requesting to subscribe to the body information including power modes.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
/**
- The result of requesting to subscribe to the fuel level state.
+ The result of requesting to subscribe to the cloud app vehicle ID
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
/**
- The result of requesting to subscribe to the fuel range.
+ The result of requesting to subscribe to the cluster modes
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
/**
- The result of requesting to subscribe to the instantaneous fuel consumption in microlitres.
+ The result of requesting to subscribe to the device status including signal and battery strength.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
/**
- The result of requesting to subscribe to the external temperature in degrees celsius.
+ The result of requesting to subscribe to the status of the brake pedal.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
/**
- The result of requesting to subscribe to the PRNDL status.
+ The result of requesting to subscribe to the emergency call info
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
/**
- The result of requesting to subscribe to the tireStatus.
+ The result of requesting to subscribe to the electronic parking brake status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
/**
- The result of requesting to subscribe to the odometer in km.
+ The result of requesting to subscribe to the emergency event
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
/**
- The result of requesting to subscribe to the status of the seat belts.
+ The result of requesting to subscribe to the estimated percentage of remaining oil life of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *beltStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
/**
- The result of requesting to subscribe to the body information including power modes.
+ The result of requesting to subscribe to the torque value for engine (in Nm) on non-diesel variants.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *bodyInformation;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
/**
- The result of requesting to subscribe to the device status including signal and battery strength.
+ The result of requesting to subscribe to the external temperature in degrees celsius.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *deviceStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *externalTemperature;
/**
- The result of requesting to subscribe to the status of the brake pedal.
+ The result of requesting to subscribe to the fuel level in the tank (percentage)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *driverBraking;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel;
/**
- The result of requesting to subscribe to the status of the wipers.
+ The result of requesting to subscribe to the fuel level state.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelLevel_State;
/**
- The result of requesting to subscribe to the status of the head lamps.
+ The result of requesting to subscribe to the fuel range.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *fuelRange;
/**
- The result of requesting to subscribe to the estimated percentage of remaining oil life of the engine.
+ The result of requesting to subscribe to the GPSData.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineOilLife;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *gps;
/**
- The result of requesting to subscribe to the torque value for engine (in Nm) on non-diesel variants.
+ The result of requesting to subscribe to the status of the head lamps.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *engineTorque;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *headLampStatus;
/**
- The result of requesting to subscribe to the accelerator pedal position (percentage depressed)
+ The result of requesting to subscribe to the instantaneous fuel consumption in microlitres.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *accPedalPosition;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *instantFuelConsumption;
/**
- The result of requesting to subscribe to the current angle of the steering wheel (in deg)
+ The result of requesting to subscribe to the myKey status
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
/**
- The result of requesting to subscribe to the emergency call info
+ The result of requesting to subscribe to the odometer in km.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *eCallInfo;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *odometer;
/**
- The result of requesting to subscribe to the airbag status
+ The result of requesting to subscribe to the PRNDL status.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *airbagStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *prndl;
/**
- The result of requesting to subscribe to the emergency event
+ The result of requesting to subscribe to the number of revolutions per minute of the engine.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *emergencyEvent;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *rpm;
/**
- The result of requesting to subscribe to the cluster modes
+ The result of requesting to subscribe to the vehicle speed in kilometers per hour.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *clusterModes;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *speed;
/**
- The result of requesting to subscribe to the myKey status
+ * See StabilityControlsStatus
+ *
+ * @since SDL 7.0.0
+ */
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+
+/**
+ The result of requesting to subscribe to the current angle of the steering wheel (in deg)
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *myKey;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *steeringWheelAngle;
/**
- The result of requesting to subscribe to the electronic parking brake status
+ The result of requesting to subscribe to the tireStatus.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *tirePressure;
/**
The result of requesting to subscribe to the turn signal
@@ -235,18 +276,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, nullable) SDLVehicleDataResult *turnSignal;
/**
- The result of requesting to subscribe to the cloud app vehicle ID
+ The result of requesting to subscribe to the status of the wipers.
Optional
*/
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *cloudAppVehicleID;
-
-/**
- * See StabilityControlsStatus
- *
- * @since SDL 6.2.0
- */
-@property (strong, nonatomic, nullable) SDLVehicleDataResult *stabilityControlsStatus;
+@property (strong, nonatomic, nullable) SDLVehicleDataResult *wiperStatus;
/**
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.