Requests current values of specific published vehicle data items.
Function Group: Location, VehicleInfo and DrivingChara HMILevel needs to be FULL, LIMITED or BACKGROUND Since SmartDeviceLink 2.0 See SDLSubscribeVehicleData, SDLUnsubscribeVehicleData
Convenience init for getting data for all possible vehicle data items.
- (nonnull instancetype)
initWithAccelerationPedalPosition:(BOOL)accelerationPedalPosition
airbagStatus:(BOOL)airbagStatus
beltStatus:(BOOL)beltStatus
bodyInformation:(BOOL)bodyInformation
cloudAppVehicleID:(BOOL)cloudAppVehicleID
clusterModeStatus:(BOOL)clusterModeStatus
deviceStatus:(BOOL)deviceStatus
driverBraking:(BOOL)driverBraking
eCallInfo:(BOOL)eCallInfo
electronicParkBrakeStatus:(BOOL)electronicParkBrakeStatus
emergencyEvent:(BOOL)emergencyEvent
engineOilLife:(BOOL)engineOilLife
engineTorque:(BOOL)engineTorque
externalTemperature:(BOOL)externalTemperature
fuelLevel:(BOOL)fuelLevel
fuelLevelState:(BOOL)fuelLevelState
fuelRange:(BOOL)fuelRange
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
turnSignal:(BOOL)turnSignal
vin:(BOOL)vin
wiperStatus:(BOOL)wiperStatus;
init(accelerationPedalPosition: Bool, airbagStatus: Bool, beltStatus: Bool, bodyInformation: Bool, cloudAppVehicleID: Bool, clusterModeStatus: Bool, deviceStatus: Bool, driverBraking: Bool, eCallInfo: Bool, electronicParkBrakeStatus: Bool, emergencyEvent: Bool, engineOilLife: Bool, engineTorque: Bool, externalTemperature: Bool, fuelLevel: Bool, fuelLevelState: Bool, fuelRange: Bool, gps: Bool, headLampStatus: Bool, instantFuelConsumption: Bool, myKey: Bool, odometer: Bool, prndl: Bool, rpm: Bool, speed: Bool, steeringWheelAngle: Bool, tirePressure: Bool, turnSignal: Bool, vin: Bool, wiperStatus: Bool)
Get accelerationPedalPosition data
Get airbagStatus data
Get beltStatus data
Get bodyInformation data
Get cloudAppVehicleID data
Get clusterModeStatus data
Get deviceStatus data
Get driverBraking data
Get eCallInfo data
Get electronicParkBrakeStatus data
Get emergencyEvent data
Get engineOilLife data
Get engineTorque data
Get externalTemperature data
Get fuelLevel data
Get fuelLevelState data
Get fuelRange data
Get gps data
Get headLampStatus data
Get instantFuelConsumption data
Get myKey data
Get odometer data
Get prndl data
Get rpm data
Get speed data
Get steeringWheelAngle data
Get tirePressure data
Get turnSignal data
Get vin data
Get wiperStatus data
A SDLGetVehicleData object
Convenience init for getting data for all possible vehicle data items.
- (nonnull instancetype)
initWithGps:(nullable NSNumber<SDLBool> *)gps
speed:(nullable NSNumber<SDLBool> *)speed
rpm:(nullable NSNumber<SDLBool> *)rpm
instantFuelConsumption:
(nullable NSNumber<SDLBool> *)instantFuelConsumption
fuelRange:(nullable NSNumber<SDLBool> *)fuelRange
externalTemperature:(nullable NSNumber<SDLBool> *)externalTemperature
turnSignal:(nullable NSNumber<SDLBool> *)turnSignal
vin:(nullable NSNumber<SDLBool> *)vin
gearStatus:(nullable NSNumber<SDLBool> *)gearStatus
tirePressure:(nullable NSNumber<SDLBool> *)tirePressure
odometer:(nullable NSNumber<SDLBool> *)odometer
beltStatus:(nullable NSNumber<SDLBool> *)beltStatus
bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation
deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus
driverBraking:(nullable NSNumber<SDLBool> *)driverBraking
wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus
headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus
engineTorque:(nullable NSNumber<SDLBool> *)engineTorque
accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition
steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle
engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife
electronicParkBrakeStatus:
(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus
cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID
stabilityControlsStatus:
(nullable NSNumber<SDLBool> *)stabilityControlsStatus
eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo
airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus
emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent
clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus
myKey:(nullable NSNumber<SDLBool> *)myKey
handsOffSteering:(nullable NSNumber<SDLBool> *)handsOffSteering
windowStatus:(nullable NSNumber<SDLBool> *)windowStatus;
init(gps: (NSNumber & SDLBool)?, speed: (NSNumber & SDLBool)?, rpm: (NSNumber & SDLBool)?, instantFuelConsumption: (NSNumber & SDLBool)?, fuelRange: (NSNumber & SDLBool)?, externalTemperature: (NSNumber & SDLBool)?, turnSignal: (NSNumber & SDLBool)?, vin: (NSNumber & SDLBool)?, gearStatus: (NSNumber & SDLBool)?, tirePressure: (NSNumber & SDLBool)?, odometer: (NSNumber & SDLBool)?, beltStatus: (NSNumber & SDLBool)?, bodyInformation: (NSNumber & SDLBool)?, deviceStatus: (NSNumber & SDLBool)?, driverBraking: (NSNumber & SDLBool)?, wiperStatus: (NSNumber & SDLBool)?, headLampStatus: (NSNumber & SDLBool)?, engineTorque: (NSNumber & SDLBool)?, accPedalPosition: (NSNumber & SDLBool)?, steeringWheelAngle: (NSNumber & SDLBool)?, engineOilLife: (NSNumber & SDLBool)?, electronicParkBrakeStatus: (NSNumber & SDLBool)?, cloudAppVehicleID: (NSNumber & SDLBool)?, stabilityControlsStatus: (NSNumber & SDLBool)?, eCallInfo: (NSNumber & SDLBool)?, airbagStatus: (NSNumber & SDLBool)?, emergencyEvent: (NSNumber & SDLBool)?, clusterModeStatus: (NSNumber & SDLBool)?, myKey: (NSNumber & SDLBool)?, handsOffSteering: (NSNumber & SDLBool)?, windowStatus: (NSNumber & SDLBool)?)
- gps
- speed
- rpm
- instantFuelConsumption
- fuelRange
- externalTemperature
- turnSignal
- vin
- gearStatus
- tirePressure
- odometer
- beltStatus
- bodyInformation
- deviceStatus
- driverBraking
- wiperStatus
- headLampStatus
- engineTorque
- accPedalPosition
- steeringWheelAngle
- engineOilLife
- electronicParkBrakeStatus
- cloudAppVehicleID
- stabilityControlsStatus
- eCallInfo
- airbagStatus
- emergencyEvent
- clusterModeStatus
- myKey
- handsOffSteering
- windowStatus
A SDLGetVehicleData object
Convenience init for getting data for all possible vehicle data items.
- (nonnull instancetype)
initWithGps:(nullable NSNumber<SDLBool> *)gps
speed:(nullable NSNumber<SDLBool> *)speed
rpm:(nullable NSNumber<SDLBool> *)rpm
instantFuelConsumption:
(nullable NSNumber<SDLBool> *)instantFuelConsumption
fuelRange:(nullable NSNumber<SDLBool> *)fuelRange
climateData:(nullable NSNumber<SDLBool> *)climateData
turnSignal:(nullable NSNumber<SDLBool> *)turnSignal
vin:(nullable NSNumber<SDLBool> *)vin
gearStatus:(nullable NSNumber<SDLBool> *)gearStatus
tirePressure:(nullable NSNumber<SDLBool> *)tirePressure
odometer:(nullable NSNumber<SDLBool> *)odometer
beltStatus:(nullable NSNumber<SDLBool> *)beltStatus
bodyInformation:(nullable NSNumber<SDLBool> *)bodyInformation
deviceStatus:(nullable NSNumber<SDLBool> *)deviceStatus
driverBraking:(nullable NSNumber<SDLBool> *)driverBraking
wiperStatus:(nullable NSNumber<SDLBool> *)wiperStatus
headLampStatus:(nullable NSNumber<SDLBool> *)headLampStatus
engineTorque:(nullable NSNumber<SDLBool> *)engineTorque
accPedalPosition:(nullable NSNumber<SDLBool> *)accPedalPosition
steeringWheelAngle:(nullable NSNumber<SDLBool> *)steeringWheelAngle
engineOilLife:(nullable NSNumber<SDLBool> *)engineOilLife
electronicParkBrakeStatus:
(nullable NSNumber<SDLBool> *)electronicParkBrakeStatus
cloudAppVehicleID:(nullable NSNumber<SDLBool> *)cloudAppVehicleID
stabilityControlsStatus:
(nullable NSNumber<SDLBool> *)stabilityControlsStatus
eCallInfo:(nullable NSNumber<SDLBool> *)eCallInfo
airbagStatus:(nullable NSNumber<SDLBool> *)airbagStatus
emergencyEvent:(nullable NSNumber<SDLBool> *)emergencyEvent
clusterModeStatus:(nullable NSNumber<SDLBool> *)clusterModeStatus
myKey:(nullable NSNumber<SDLBool> *)myKey
windowStatus:(nullable NSNumber<SDLBool> *)windowStatus
handsOffSteering:(nullable NSNumber<SDLBool> *)handsOffSteering
seatOccupancy:(nullable NSNumber<SDLBool> *)seatOccupancy;
init(gps: (NSNumber & SDLBool)?, speed: (NSNumber & SDLBool)?, rpm: (NSNumber & SDLBool)?, instantFuelConsumption: (NSNumber & SDLBool)?, fuelRange: (NSNumber & SDLBool)?, climateData: (NSNumber & SDLBool)?, turnSignal: (NSNumber & SDLBool)?, vin: (NSNumber & SDLBool)?, gearStatus: (NSNumber & SDLBool)?, tirePressure: (NSNumber & SDLBool)?, odometer: (NSNumber & SDLBool)?, beltStatus: (NSNumber & SDLBool)?, bodyInformation: (NSNumber & SDLBool)?, deviceStatus: (NSNumber & SDLBool)?, driverBraking: (NSNumber & SDLBool)?, wiperStatus: (NSNumber & SDLBool)?, headLampStatus: (NSNumber & SDLBool)?, engineTorque: (NSNumber & SDLBool)?, accPedalPosition: (NSNumber & SDLBool)?, steeringWheelAngle: (NSNumber & SDLBool)?, engineOilLife: (NSNumber & SDLBool)?, electronicParkBrakeStatus: (NSNumber & SDLBool)?, cloudAppVehicleID: (NSNumber & SDLBool)?, stabilityControlsStatus: (NSNumber & SDLBool)?, eCallInfo: (NSNumber & SDLBool)?, airbagStatus: (NSNumber & SDLBool)?, emergencyEvent: (NSNumber & SDLBool)?, clusterModeStatus: (NSNumber & SDLBool)?, myKey: (NSNumber & SDLBool)?, windowStatus: (NSNumber & SDLBool)?, handsOffSteering: (NSNumber & SDLBool)?, seatOccupancy: (NSNumber & SDLBool)?)
- gps
- speed
- rpm
- instantFuelConsumption
- fuelRange
- climateData
- turnSignal
- vin
- gearStatus
- tirePressure
- odometer
- beltStatus
- bodyInformation
- deviceStatus
- driverBraking
- wiperStatus
- headLampStatus
- engineTorque
- accPedalPosition
- steeringWheelAngle
- engineOilLife
- electronicParkBrakeStatus
- cloudAppVehicleID
- stabilityControlsStatus
- eCallInfo
- airbagStatus
- emergencyEvent
- clusterModeStatus
- myKey
- handsOffSteering
- windowStatus
- seatOccupancy
See GearStatus
@since SDL 7.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *gearStatus;
var gearStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests GPS data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *gps;
var gps: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Speed data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *speed;
var speed: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests RPM data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *rpm;
var rpm: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Fuel Level data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *fuelLevel;
var fuelLevel: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Fuel Level State data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *fuelLevel_State;
var fuelLevel_State: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Fuel Range data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *fuelRange;
var fuelRange: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Instant Fuel Consumption data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *instantFuelConsumption;
var instantFuelConsumption: (NSNumber & SDLBool)? { get set }
See ClimateData
@added in SmartDeviceLink 7.1.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *climateData;
var climateData: (NSNumber & SDLBool)? { 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) NSNumber<SDLBool> *externalTemperature;
var externalTemperature: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests the Vehicle Identification Number.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *vin;
var vin: (NSNumber & SDLBool)? { get set }
See PRNDL. This parameter is deprecated and it is now covered in gearStatus
@deprecated @since SDL 7.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *prndl;
var prndl: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Tire Pressure data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *tirePressure;
var tirePressure: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Odometer data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *odometer;
var odometer: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Belt Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *beltStatus;
var beltStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Body Information data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *bodyInformation;
var bodyInformation: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Device Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *deviceStatus;
var deviceStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Driver Braking data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *driverBraking;
var driverBraking: (NSNumber & SDLBool)? { get set }
See WindowStatus
@since SDL 7.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *windowStatus;
var windowStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Wiper Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *wiperStatus;
var wiperStatus: (NSNumber & SDLBool)? { get set }
To indicate whether driver hands are off the steering wheel
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *handsOffSteering;
var handsOffSteering: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Head Lamp Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *headLampStatus;
var headLampStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Engine Oil Life data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *engineOilLife;
var engineOilLife: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Engine Torque data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *engineTorque;
var engineTorque: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Acc Pedal Position data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *accPedalPosition;
var accPedalPosition: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Steering Wheel Angle data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *steeringWheelAngle;
var steeringWheelAngle: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Emergency Call Info data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *eCallInfo;
var eCallInfo: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Air Bag Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *airbagStatus;
var airbagStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Emergency Event (if it occurred) data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *emergencyEvent;
var emergencyEvent: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Cluster Mode Status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *clusterModeStatus;
var clusterModeStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests MyKey data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *myKey;
var myKey: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Electronic Parking Brake status data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *electronicParkBrakeStatus;
var electronicParkBrakeStatus: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests Turn Signal data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *turnSignal;
var turnSignal: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests the Cloud App Vehicle ID.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *cloudAppVehicleID;
var cloudAppVehicleID: (NSNumber & SDLBool)? { get set }
A boolean value. If true, requests StabilityControlsStatus data.
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *stabilityControlsStatus;
var stabilityControlsStatus: (NSNumber & SDLBool)? { get set }
Sets the OEM custom vehicle data state for any given OEM custom vehicle data name.
Added in SmartDeviceLink 6.0
- (void)setOEMCustomVehicleData:(nonnull NSString *)vehicleDataName
withVehicleDataState:(BOOL)vehicleDataState;
func setOEMCustomVehicleData(name vehicleDataName: String, state vehicleDataState: Bool)
The name of the OEM custom vehicle data item.
A boolean value. If true, requests the OEM custom vehicle data item.
Gets the OEM custom vehicle data value for any given OEM custom vehicle data name.
Added in SmartDeviceLink 6.0
- (nullable NSNumber<SDLBool> *)getOEMCustomVehicleData:
(nonnull NSString *)vehicleDataName;
func getOEMCustomVehicleData(_ vehicleDataName: String) -> (NSNumber & SDLBool)?
The name of the OEM custom vehicle data item.
The state of an OEM custom vehicle data item for the given vehicle data name.
See SeatOccupancy
@added in SmartDeviceLink 7.1.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *seatOccupancy;
var seatOccupancy: (NSNumber & SDLBool)? { get set }