Response to SDLSubscribeVehicleData
Since SmartDeviceLink 2.0
Convenience init for setting all possible values on vehicle data items.
- (nonnull instancetype)
initWithGps:(nullable SDLVehicleDataResult *)gps
speed:(nullable SDLVehicleDataResult *)speed
rpm:(nullable SDLVehicleDataResult *)rpm
instantFuelConsumption:
(nullable SDLVehicleDataResult *)instantFuelConsumption
fuelRange:(nullable SDLVehicleDataResult *)fuelRange
externalTemperature:
(nullable SDLVehicleDataResult *)externalTemperature
turnSignal:(nullable SDLVehicleDataResult *)turnSignal
gearStatus:(nullable SDLVehicleDataResult *)gearStatus
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
stabilityControlsStatus:
(nullable SDLVehicleDataResult *)stabilityControlsStatus
eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo
airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus
emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent
clusterModes:(nullable SDLVehicleDataResult *)clusterModes
myKey:(nullable SDLVehicleDataResult *)myKey
handsOffSteering:(nullable SDLVehicleDataResult *)handsOffSteering
windowStatus:(nullable SDLVehicleDataResult *)windowStatus;
init(gps: SDLVehicleDataResult?, speed: SDLVehicleDataResult?, rpm: SDLVehicleDataResult?, instantFuelConsumption: SDLVehicleDataResult?, fuelRange: SDLVehicleDataResult?, externalTemperature: SDLVehicleDataResult?, turnSignal: SDLVehicleDataResult?, gearStatus: SDLVehicleDataResult?, tirePressure: SDLVehicleDataResult?, odometer: SDLVehicleDataResult?, beltStatus: SDLVehicleDataResult?, bodyInformation: SDLVehicleDataResult?, deviceStatus: SDLVehicleDataResult?, driverBraking: SDLVehicleDataResult?, wiperStatus: SDLVehicleDataResult?, headLampStatus: SDLVehicleDataResult?, engineTorque: SDLVehicleDataResult?, accPedalPosition: SDLVehicleDataResult?, steeringWheelAngle: SDLVehicleDataResult?, engineOilLife: SDLVehicleDataResult?, electronicParkBrakeStatus: SDLVehicleDataResult?, cloudAppVehicleID: SDLVehicleDataResult?, stabilityControlsStatus: SDLVehicleDataResult?, eCallInfo: SDLVehicleDataResult?, airbagStatus: SDLVehicleDataResult?, emergencyEvent: SDLVehicleDataResult?, clusterModes: SDLVehicleDataResult?, myKey: SDLVehicleDataResult?, handsOffSteering: SDLVehicleDataResult?, windowStatus: SDLVehicleDataResult?)
- gps
- speed
- rpm
- instantFuelConsumption
- fuelRange
- externalTemperature
- turnSignal
- gearStatus
- tirePressure
- odometer
- beltStatus
- bodyInformation
- deviceStatus
- driverBraking
- wiperStatus
- headLampStatus
- engineTorque
- accPedalPosition
- steeringWheelAngle
- engineOilLife
- electronicParkBrakeStatus
- cloudAppVehicleID
- stabilityControlsStatus
- eCallInfo
- airbagStatus
- emergencyEvent
- clusterModes
- myKey
- handsOffSteering
- windowStatus
A SDLSubscribeVehicleDataResponse object
Convenience init for setting all possible values on vehicle data items.
- (nonnull instancetype)
initWithGps:(nullable SDLVehicleDataResult *)gps
speed:(nullable SDLVehicleDataResult *)speed
rpm:(nullable SDLVehicleDataResult *)rpm
instantFuelConsumption:
(nullable SDLVehicleDataResult *)instantFuelConsumption
fuelRange:(nullable SDLVehicleDataResult *)fuelRange
climateData:(nullable SDLVehicleDataResult *)climateData
turnSignal:(nullable SDLVehicleDataResult *)turnSignal
gearStatus:(nullable SDLVehicleDataResult *)gearStatus
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
stabilityControlsStatus:
(nullable SDLVehicleDataResult *)stabilityControlsStatus
eCallInfo:(nullable SDLVehicleDataResult *)eCallInfo
airbagStatus:(nullable SDLVehicleDataResult *)airbagStatus
emergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent
clusterModes:(nullable SDLVehicleDataResult *)clusterModes
myKey:(nullable SDLVehicleDataResult *)myKey
windowStatus:(nullable SDLVehicleDataResult *)windowStatus
handsOffSteering:(nullable SDLVehicleDataResult *)handsOffSteering
seatOccupancy:(nullable SDLVehicleDataResult *)seatOccupancy;
init(gps: SDLVehicleDataResult?, speed: SDLVehicleDataResult?, rpm: SDLVehicleDataResult?, instantFuelConsumption: SDLVehicleDataResult?, fuelRange: SDLVehicleDataResult?, climateData: SDLVehicleDataResult?, turnSignal: SDLVehicleDataResult?, gearStatus: SDLVehicleDataResult?, tirePressure: SDLVehicleDataResult?, odometer: SDLVehicleDataResult?, beltStatus: SDLVehicleDataResult?, bodyInformation: SDLVehicleDataResult?, deviceStatus: SDLVehicleDataResult?, driverBraking: SDLVehicleDataResult?, wiperStatus: SDLVehicleDataResult?, headLampStatus: SDLVehicleDataResult?, engineTorque: SDLVehicleDataResult?, accPedalPosition: SDLVehicleDataResult?, steeringWheelAngle: SDLVehicleDataResult?, engineOilLife: SDLVehicleDataResult?, electronicParkBrakeStatus: SDLVehicleDataResult?, cloudAppVehicleID: SDLVehicleDataResult?, stabilityControlsStatus: SDLVehicleDataResult?, eCallInfo: SDLVehicleDataResult?, airbagStatus: SDLVehicleDataResult?, emergencyEvent: SDLVehicleDataResult?, clusterModes: SDLVehicleDataResult?, myKey: SDLVehicleDataResult?, windowStatus: SDLVehicleDataResult?, handsOffSteering: SDLVehicleDataResult?, seatOccupancy: SDLVehicleDataResult?)
- gps
- speed
- rpm
- instantFuelConsumption
- fuelRange
- climateData
- turnSignal
- gearStatus
- tirePressure
- odometer
- beltStatus
- bodyInformation
- deviceStatus
- driverBraking
- wiperStatus
- headLampStatus
- engineTorque
- accPedalPosition
- steeringWheelAngle
- engineOilLife
- electronicParkBrakeStatus
- cloudAppVehicleID
- stabilityControlsStatus
- eCallInfo
- airbagStatus
- emergencyEvent
- clusterModes
- myKey
- windowStatus
- handsOffSteering
- seatOccupancy
A SDLSubscribeVehicleDataResponse object
See GearStatus
@since SDL 7.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *gearStatus;
var gearStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the GPSData.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *gps;
var gps: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the vehicle speed in kilometers per hour.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *speed;
var speed: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the number of revolutions per minute of the engine.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *rpm;
var rpm: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the fuel level in the tank (percentage)
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *fuelLevel;
var fuelLevel: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the fuel level state.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *fuelLevel_State;
var fuelLevel_State: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the fuel range.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *fuelRange;
var fuelRange: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the instantaneous fuel consumption in microlitres.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *instantFuelConsumption;
var instantFuelConsumption: SDLVehicleDataResult? { get set }
See ClimateData
@added in SmartDeviceLink 7.1.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *climateData;
var climateData: SDLVehicleDataResult? { get set }
The external temperature in degrees celsius. This parameter is deprecated starting RPC Spec 7.1, please see climateData.
@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 2.0.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *externalTemperature;
var externalTemperature: SDLVehicleDataResult? { get set }
See PRNDL. This parameter is deprecated and it is now covered in gearStatus
@deprecated @since SDL 7.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *prndl;
var prndl: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the tireStatus.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *tirePressure;
var tirePressure: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the odometer in km.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *odometer;
var odometer: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the status of the seat belts.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *beltStatus;
var beltStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the body information including power modes.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *bodyInformation;
var bodyInformation: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the device status including signal and battery strength.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *deviceStatus;
var deviceStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the status of the brake pedal.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *driverBraking;
var driverBraking: SDLVehicleDataResult? { get set }
See WindowStatus
@since SDL 7.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *windowStatus;
var windowStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the status of the wipers.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *wiperStatus;
var wiperStatus: SDLVehicleDataResult? { get set }
To indicate whether driver hands are off the steering wheel
@property (nonatomic, strong, nullable) SDLVehicleDataResult *handsOffSteering;
var handsOffSteering: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the status of the head lamps.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *headLampStatus;
var headLampStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the estimated percentage of remaining oil life of the engine.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *engineOilLife;
var engineOilLife: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the torque value for engine (in Nm) on non-diesel variants.
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *engineTorque;
var engineTorque: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the accelerator pedal position (percentage depressed)
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *accPedalPosition;
var accPedalPosition: SDLVehicleDataResult? { get set }
See StabilityControlsStatus
@property (nonatomic, strong, nullable) SDLVehicleDataResult *stabilityControlsStatus;
var stabilityControlsStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the current angle of the steering wheel (in deg)
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *steeringWheelAngle;
var steeringWheelAngle: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the emergency call info
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *eCallInfo;
var eCallInfo: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the airbag status
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *airbagStatus;
var airbagStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the emergency event
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *emergencyEvent;
var emergencyEvent: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the cluster modes
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *clusterModes;
var clusterModes: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the myKey status
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *myKey;
var myKey: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the electronic parking brake status
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *electronicParkBrakeStatus;
var electronicParkBrakeStatus: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the turn signal
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *turnSignal;
var turnSignal: SDLVehicleDataResult? { get set }
The result of requesting to subscribe to the cloud app vehicle ID
Optional
@property (nonatomic, strong, nullable) SDLVehicleDataResult *cloudAppVehicleID;
var cloudAppVehicleID: SDLVehicleDataResult? { get set }
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
Added SmartDeviceLink 6.0
- (void)setOEMCustomVehicleData:(nonnull NSString *)vehicleDataName
withVehicleDataState:
(nonnull SDLVehicleDataResult *)vehicleDataState;
func setOEMCustomVehicleData(name vehicleDataName: String, state vehicleDataState: SDLVehicleDataResult)
The name of the OEM custom vehicle data item.
SDLVehicleDataResult object containing custom data type and result code information.
Gets the OEM custom vehicle data state for any given OEM custom vehicle data name.
Added SmartDeviceLink 6.0
- (nullable SDLVehicleDataResult *)getOEMCustomVehicleData:
(nonnull NSString *)vehicleDataName;
func getOEMCustomVehicleData(_ vehicleDataName: String) -> SDLVehicleDataResult?
The name of the OEM custom vehicle data item.
SDLVehicleDataResult An object containing custom data type and result code information.
See SeatOccupancy
@added in SmartDeviceLink 7.1.0
@property (nonatomic, strong, nullable) SDLVehicleDataResult *seatOccupancy;
var seatOccupancy: SDLVehicleDataResult? { get set }