Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLUnsubscribeVehicleData Class Reference

Section Contents

Overview

This function is used to unsubscribe the notifications from the subscribeVehicleData function

Function Group: Location, VehicleInfo and DrivingChara

HMILevel needs to be FULL, LIMITED or BACKGROUND

@since SmartDeviceLink 2.0
See SDLSubscribeVehicleData SDLGetVehicleData

-initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:emergencyEvent:engineTorque:externalTemperature:fuelLevel:fuelLevelState:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:wiperStatus:

Convenience init for unsubscribing to all possible vehicle data items.

Objective-C

- (nonnull 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;

Swift

init(accelerationPedalPosition: Bool, airbagStatus: Bool, beltStatus: Bool, bodyInformation: Bool, clusterModeStatus: Bool, deviceStatus: Bool, driverBraking: Bool, eCallInfo: Bool, emergencyEvent: Bool, engineTorque: Bool, externalTemperature: Bool, fuelLevel: Bool, fuelLevelState: Bool, gps: Bool, headLampStatus: Bool, instantFuelConsumption: Bool, myKey: Bool, odometer: Bool, prndl: Bool, rpm: Bool, speed: Bool, steeringWheelAngle: Bool, tirePressure: Bool, wiperStatus: Bool)

Parameters

accelerationPedalPosition

Unsubscribe to accelerationPedalPosition

airbagStatus

Unsubscribe to airbagStatus

beltStatus

Unsubscribe to beltStatus

bodyInformation

Unsubscribe to bodyInformation

clusterModeStatus

Unsubscribe to clusterModeStatus

deviceStatus

Unsubscribe to deviceStatus

driverBraking

Unsubscribe to driverBraking

eCallInfo

Unsubscribe to eCallInfo

emergencyEvent

Unsubscribe to emergencyEvent

engineTorque

Unsubscribe to engineTorque

externalTemperature

Unsubscribe to externalTemperature

fuelLevel

Unsubscribe to fuelLevel

fuelLevelState

Unsubscribe to fuelLevelState

gps

Unsubscribe to gps

headLampStatus

Unsubscribe to headLampStatus

instantFuelConsumption

Unsubscribe to instantFuelConsumption

myKey

Unsubscribe to myKey

odometer

Unsubscribe to odometer

prndl

Unsubscribe to prndl

rpm

Unsubscribe to rpm

speed

Unsubscribe to speed

steeringWheelAngle

Unsubscribe to steeringWheelAngle

tirePressure

Unsubscribe to tirePressure

wiperStatus

Unsubscribe to wiperStatus

Return Value

A SDLUnsubscribeVehicleData object

-initWithAccelerationPedalPosition:airbagStatus:beltStatus:bodyInformation:clusterModeStatus:deviceStatus:driverBraking:eCallInfo:electronicParkBrakeStatus:emergencyEvent:engineOilLife:engineTorque:externalTemperature:fuelLevel:fuelLevelState:fuelRange:gps:headLampStatus:instantFuelConsumption:myKey:odometer:prndl:rpm:speed:steeringWheelAngle:tirePressure:turnSignal:wiperStatus:

Convenience init for unsubscribing to all possible vehicle data items.

Objective-C

- (nonnull 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
        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
                      wiperStatus:(BOOL)wiperStatus;

Swift

init(accelerationPedalPosition: Bool, airbagStatus: Bool, beltStatus: Bool, bodyInformation: 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, wiperStatus: Bool)

Parameters

accelerationPedalPosition

Unsubscribe to accelerationPedalPosition

airbagStatus

Unsubscribe to airbagStatus

beltStatus

Unsubscribe to beltStatus

bodyInformation

Unsubscribe to bodyInformation

clusterModeStatus

Unsubscribe to clusterModeStatus

deviceStatus

Unsubscribe to deviceStatus

driverBraking

Unsubscribe to driverBraking

eCallInfo

Unsubscribe to eCallInfo

electronicParkBrakeStatus

Unsubscribe to electronicParkBrakeStatus

emergencyEvent

Unsubscribe to emergencyEvent

engineOilLife

Unsubscribe to engineOilLife

engineTorque

Unsubscribe to engineTorque

externalTemperature

Unsubscribe to externalTemperature

fuelLevel

Unsubscribe to fuelLevel

fuelLevelState

Unsubscribe to fuelLevelState

fuelRange

Unsubscribe to fuelRange

gps

Unsubscribe to gps

headLampStatus

Unsubscribe to headLampStatus

instantFuelConsumption

Unsubscribe to instantFuelConsumption

myKey

Unsubscribe to myKey

odometer

Unsubscribe to odometer

prndl

Unsubscribe to prndl

rpm

Unsubscribe to rpm

speed

Unsubscribe to speed

steeringWheelAngle

Unsubscribe to steeringWheelAngle

tirePressure

Unsubscribe to tirePressure

turnSignal

Unsubscribe to turnSignal

wiperStatus

Unsubscribe to wiperStatus

Return Value

A SDLUnsubscribeVehicleData object

gps

If true, unsubscribes from GPS

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *gps;

Swift

var gps: (NSNumber & SDLBool)? { get set }

speed

If true, unsubscribes from Speed

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *speed;

Swift

var speed: (NSNumber & SDLBool)? { get set }

rpm

If true, unsubscribes from RPM

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *rpm;

Swift

var rpm: (NSNumber & SDLBool)? { get set }

fuelLevel

If true, unsubscribes from Fuel Level

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *fuelLevel;

Swift

var fuelLevel: (NSNumber & SDLBool)? { get set }

fuelLevel_State

If true, unsubscribes from Fuel Level State

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *fuelLevel_State;

Swift

var fuelLevel_State: (NSNumber & SDLBool)? { get set }

fuelRange

If true, unsubscribes from Fuel Range

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *fuelRange;

Swift

var fuelRange: (NSNumber & SDLBool)? { get set }

instantFuelConsumption

If true, unsubscribes from Instant Fuel Consumption

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *instantFuelConsumption;

Swift

var instantFuelConsumption: (NSNumber & SDLBool)? { get set }

externalTemperature

If true, unsubscribes from External Temperature

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *externalTemperature;

Swift

var externalTemperature: (NSNumber & SDLBool)? { get set }

prndl

If true, unsubscribes from PRNDL

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *prndl;

Swift

var prndl: (NSNumber & SDLBool)? { get set }

tirePressure

If true, unsubscribes from Tire Pressure

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *tirePressure;

Swift

var tirePressure: (NSNumber & SDLBool)? { get set }

odometer

If true, unsubscribes from Odometer

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *odometer;

Swift

var odometer: (NSNumber & SDLBool)? { get set }

beltStatus

If true, unsubscribes from Belt Status

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *beltStatus;

Swift

var beltStatus: (NSNumber & SDLBool)? { get set }

bodyInformation

If true, unsubscribes from Body Information

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *bodyInformation;

Swift

var bodyInformation: (NSNumber & SDLBool)? { get set }

deviceStatus

If true, unsubscribes from Device Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *deviceStatus;

Swift

var deviceStatus: (NSNumber & SDLBool)? { get set }

driverBraking

If true, unsubscribes from Driver Braking

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *driverBraking;

Swift

var driverBraking: (NSNumber & SDLBool)? { get set }

wiperStatus

If true, unsubscribes from Wiper Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *wiperStatus;

Swift

var wiperStatus: (NSNumber & SDLBool)? { get set }

headLampStatus

If true, unsubscribes from Head Lamp Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *headLampStatus;

Swift

var headLampStatus: (NSNumber & SDLBool)? { get set }

engineOilLife

If true, unsubscribes from Engine Oil Life

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *engineOilLife;

Swift

var engineOilLife: (NSNumber & SDLBool)? { get set }

engineTorque

If true, unsubscribes from Engine Torque

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *engineTorque;

Swift

var engineTorque: (NSNumber & SDLBool)? { get set }

accPedalPosition

If true, unsubscribes from Acc Pedal Position

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *accPedalPosition;

Swift

var accPedalPosition: (NSNumber & SDLBool)? { get set }

steeringWheelAngle

If true, unsubscribes from Steering Wheel Angle data

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *steeringWheelAngle;

Swift

var steeringWheelAngle: (NSNumber & SDLBool)? { get set }

eCallInfo

If true, unsubscribes from eCallInfo

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *eCallInfo;

Swift

var eCallInfo: (NSNumber & SDLBool)? { get set }

airbagStatus

If true, unsubscribes from Airbag Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *airbagStatus;

Swift

var airbagStatus: (NSNumber & SDLBool)? { get set }

emergencyEvent

If true, unsubscribes from Emergency Event

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *emergencyEvent;

Swift

var emergencyEvent: (NSNumber & SDLBool)? { get set }

clusterModeStatus

If true, unsubscribes from Cluster Mode Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *clusterModeStatus;

Swift

var clusterModeStatus: (NSNumber & SDLBool)? { get set }

myKey

If true, unsubscribes from My Key

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *myKey;

Swift

var myKey: (NSNumber & SDLBool)? { get set }

electronicParkBrakeStatus

A boolean value. If true, unsubscribes to the Electronic Parking Brake Status

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *electronicParkBrakeStatus;

Swift

var electronicParkBrakeStatus: (NSNumber & SDLBool)? { get set }

turnSignal

A boolean value. If true, unsubscribes to the Turn Signal

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLBool> *turnSignal;

Swift

var turnSignal: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section