summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLUnsubscribeVehicleData.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-11-03 15:56:09 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-11-03 15:56:09 -0700
commitfff90aa827a839154bb0d52bf9e4399ed48522d0 (patch)
treee4d0cc72d2fe8f97156beba1e7fba6a829b05e9f /SmartDeviceLink/SDLUnsubscribeVehicleData.m
parent23ac8f8607e2161bbc5610767079018843f029da (diff)
parent63f0945009fae4896cabb28e124153201c15e9a3 (diff)
downloadsdl_ios-fff90aa827a839154bb0d52bf9e4399ed48522d0.tar.gz
Merge remote-tracking branch 'origin/master' into develop
* origin/master: (26 commits) Update to v4.3.0 final Run clang-format Added a fix for when a navigation app is attempting to connect to a non-navigation capable core that would cause a crash on RAI. Missing forward class declaration for SDLProxy. Add documentation around the reason there is an SDLProxy property on SDLManager Add a passthrough SDLProxy property to SDLManager for minor backcompat cases Update the example app to log out example permissions Fixed issue related RAI failing due to missing parameter in SDLAppInfo. removed double set property in initializer. Updated RAI to include missing properties in initializers. Fix a crasher bug when an RAIR errors Added support for deprecating SDLTTSChunkFactory in favor of SDLTTSChunk inits. Added missing generic. Updated spec to use non-nsnumbers in initializers. Added missing generics and removed remaining NSNumbers used in initializers Removed imports and put in superclass. Add generics to initializers Added missing initializer for SDLTTSChunk Fixed misstype in spec. Removed NSNumbers in favor of their primitive types for initializers. ... # Conflicts: # SmartDeviceLink/SDLAddCommand.h # SmartDeviceLink/SDLAddCommand.m # SmartDeviceLink/SDLAddSubMenu.m # SmartDeviceLink/SDLAlert.h # SmartDeviceLink/SDLAlertManeuver.h # SmartDeviceLink/SDLAlertManeuver.m # SmartDeviceLink/SDLChangeRegistration.m # SmartDeviceLink/SDLChoice.m # SmartDeviceLink/SDLCreateInteractionChoiceSet.m # SmartDeviceLink/SDLDeleteCommand.m # SmartDeviceLink/SDLDeleteInteractionChoiceSet.m # SmartDeviceLink/SDLDeleteSubMenu.m # SmartDeviceLink/SDLDeviceInfo.m # SmartDeviceLink/SDLDiagnosticMessage.m # SmartDeviceLink/SDLDialNumber.h # SmartDeviceLink/SDLGetDTCs.h # SmartDeviceLink/SDLGetDTCs.m # SmartDeviceLink/SDLGetVehicleData.m # SmartDeviceLink/SDLImage.m # SmartDeviceLink/SDLKeyboardProperties.h # SmartDeviceLink/SDLKeyboardProperties.m # SmartDeviceLink/SDLMenuParams.h # SmartDeviceLink/SDLMenuParams.m # SmartDeviceLink/SDLPerformAudioPassThru.m # SmartDeviceLink/SDLPerformInteraction.h # SmartDeviceLink/SDLPermissionManager.m # SmartDeviceLink/SDLRPCRequestFactory.h # SmartDeviceLink/SDLRPCRequestFactory.m # SmartDeviceLink/SDLReadDID.m # SmartDeviceLink/SDLRegisterAppInterface.h # SmartDeviceLink/SDLResetGlobalProperties.h # SmartDeviceLink/SDLResetGlobalProperties.m # SmartDeviceLink/SDLSendLocation.h # SmartDeviceLink/SDLSendLocation.m # SmartDeviceLink/SDLSetGlobalProperties.m # SmartDeviceLink/SDLShow.h # SmartDeviceLink/SDLShowConstantTBT.h # SmartDeviceLink/SDLSlider.m # SmartDeviceLink/SDLSoftButton.m # SmartDeviceLink/SDLSpeak.m # SmartDeviceLink/SDLStartTime.m # SmartDeviceLink/SDLSubscribeButton.h # SmartDeviceLink/SDLSubscribeButton.m # SmartDeviceLink/SDLSubscribeVehicleData.m # SmartDeviceLink/SDLSyncMsgVersion.m # SmartDeviceLink/SDLSystemRequest.h # SmartDeviceLink/SDLSystemRequest.m # SmartDeviceLink/SDLTTSChunk.m # SmartDeviceLink/SDLTTSChunkFactory.h # SmartDeviceLink/SDLTTSChunkFactory.m # SmartDeviceLink/SDLTurn.m # SmartDeviceLink/SDLUnsubscribeButton.m # SmartDeviceLink/SDLUnsubscribeVehicleData.m # SmartDeviceLink/SDLUpdateTurnList.m # SmartDeviceLink/SDLVrHelpItem.m # SmartDeviceLinkTests/DevAPISpecs/SDLResponseDispatcherSpec.m # SmartDeviceLink_Example/Classes/ProxyManager.m
Diffstat (limited to 'SmartDeviceLink/SDLUnsubscribeVehicleData.m')
-rw-r--r--SmartDeviceLink/SDLUnsubscribeVehicleData.m34
1 files changed, 34 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLUnsubscribeVehicleData.m b/SmartDeviceLink/SDLUnsubscribeVehicleData.m
index 68659adec..9b37ef570 100644
--- a/SmartDeviceLink/SDLUnsubscribeVehicleData.m
+++ b/SmartDeviceLink/SDLUnsubscribeVehicleData.m
@@ -14,6 +14,40 @@
return self;
}
+- (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 {
+ self = [self init];
+ if (!self) {
+ return nil;
+ }
+
+ self.accPedalPosition = @(accelerationPedalPosition);
+ self.airbagStatus = @(airbagStatus);
+ self.beltStatus = @(beltStatus);
+ self.bodyInformation = @(bodyInformation);
+ self.clusterModeStatus = @(clusterModeStatus);
+ self.deviceStatus = @(deviceStatus);
+ self.driverBraking = @(driverBraking);
+ self.eCallInfo = @(eCallInfo);
+ self.emergencyEvent = @(emergencyEvent);
+ self.engineTorque = @(engineTorque);
+ self.externalTemperature = @(externalTemperature);
+ self.fuelLevel = @(fuelLevel);
+ self.fuelLevel_State = @(fuelLevelState);
+ self.myKey = @(myKey);
+ self.odometer = @(odometer);
+ self.gps = @(gps);
+ self.headLampStatus = @(headLampStatus);
+ self.instantFuelConsumption = @(instantFuelConsumption);
+ self.prndl = @(prndl);
+ self.rpm = @(rpm);
+ self.speed = @(speed);
+ self.steeringWheelAngle = @(steeringWheelAngle);
+ self.tirePressure = @(tirePressure);
+ self.wiperStatus = @(wiperStatus);
+
+ return self;
+}
+
- (void)setGps:(NSNumber<SDLBool> *)gps {
if (gps != nil) {
[parameters setObject:gps forKey:SDLNameGPS];