Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
UnsubscribeVehicleDataResponse

Class UnsubscribeVehicleDataResponse

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCResponse

Package
com.smartdevicelink.proxy.rpc

Overview

Unsubscribe Vehicle Data Response is sent, when UnsubscribeVehicleData has been called.

Quick Jump

Fields
Constructors
Methods

Fields

KEY_SPEED

public static final java.lang.String KEY_SPEED
Constant Value
"speed"

KEY_RPM

public static final java.lang.String KEY_RPM
Constant Value
"rpm"

KEY_EXTERNAL_TEMPERATURE

public static final java.lang.String KEY_EXTERNAL_TEMPERATURE
Constant Value
"externalTemperature"

KEY_PRNDL

public static final java.lang.String KEY_PRNDL
Constant Value
"prndl"

KEY_TIRE_PRESSURE

public static final java.lang.String KEY_TIRE_PRESSURE
Constant Value
"tirePressure"

KEY_ENGINE_TORQUE

public static final java.lang.String KEY_ENGINE_TORQUE
Constant Value
"engineTorque"

KEY_ENGINE_OIL_LIFE

public static final java.lang.String KEY_ENGINE_OIL_LIFE
Constant Value
"engineOilLife"

KEY_ODOMETER

public static final java.lang.String KEY_ODOMETER
Constant Value
"odometer"

KEY_GPS

public static final java.lang.String KEY_GPS
Constant Value
"gps"

KEY_INSTANT_FUEL_CONSUMPTION

public static final java.lang.String KEY_INSTANT_FUEL_CONSUMPTION
Constant Value
"instantFuelConsumption"

KEY_BELT_STATUS

public static final java.lang.String KEY_BELT_STATUS
Constant Value
"beltStatus"

KEY_BODY_INFORMATION

public static final java.lang.String KEY_BODY_INFORMATION
Constant Value
"bodyInformation"

KEY_DEVICE_STATUS

public static final java.lang.String KEY_DEVICE_STATUS
Constant Value
"deviceStatus"

KEY_DRIVER_BRAKING

public static final java.lang.String KEY_DRIVER_BRAKING
Constant Value
"driverBraking"

KEY_WIPER_STATUS

public static final java.lang.String KEY_WIPER_STATUS
Constant Value
"wiperStatus"

KEY_HEAD_LAMP_STATUS

public static final java.lang.String KEY_HEAD_LAMP_STATUS
Constant Value
"headLampStatus"

KEY_ACC_PEDAL_POSITION

public static final java.lang.String KEY_ACC_PEDAL_POSITION
Constant Value
"accPedalPosition"

KEY_STEERING_WHEEL_ANGLE

public static final java.lang.String KEY_STEERING_WHEEL_ANGLE
Constant Value
"steeringWheelAngle"

KEY_E_CALL_INFO

public static final java.lang.String KEY_E_CALL_INFO
Constant Value
"eCallInfo"

KEY_AIRBAG_STATUS

public static final java.lang.String KEY_AIRBAG_STATUS
Constant Value
"airbagStatus"

KEY_EMERGENCY_EVENT

public static final java.lang.String KEY_EMERGENCY_EVENT
Constant Value
"emergencyEvent"

KEY_CLUSTER_MODE_STATUS

public static final java.lang.String KEY_CLUSTER_MODE_STATUS
Constant Value
"clusterModeStatus"

KEY_CLUSTER_MODES

public static final java.lang.String KEY_CLUSTER_MODES
Constant Value
"clusterModes"

KEY_MY_KEY

public static final java.lang.String KEY_MY_KEY
Constant Value
"myKey"

KEY_FUEL_RANGE

public static final java.lang.String KEY_FUEL_RANGE
Constant Value
"fuelRange"

KEY_TURN_SIGNAL

public static final java.lang.String KEY_TURN_SIGNAL
Constant Value
"turnSignal"

KEY_ELECTRONIC_PARK_BRAKE_STATUS

public static final java.lang.String KEY_ELECTRONIC_PARK_BRAKE_STATUS
Constant Value
"electronicParkBrakeStatus"

KEY_CLOUD_APP_VEHICLE_ID

public static final java.lang.String KEY_CLOUD_APP_VEHICLE_ID
Constant Value
"cloudAppVehicleID"

KEY_HANDS_OFF_STEERING

public static final java.lang.String KEY_HANDS_OFF_STEERING
Constant Value
"handsOffSteering"

KEY_WINDOW_STATUS

public static final java.lang.String KEY_WINDOW_STATUS
Constant Value
"windowStatus"

KEY_GEAR_STATUS

public static final java.lang.String KEY_GEAR_STATUS
Constant Value
"gearStatus"

KEY_FUEL_LEVEL

public static final java.lang.String KEY_FUEL_LEVEL
Constant Value
"fuelLevel"

KEY_FUEL_LEVEL_STATE

public static final java.lang.String KEY_FUEL_LEVEL_STATE
Constant Value
"fuelLevel_State"

KEY_STABILITY_CONTROLS_STATUS

public static final java.lang.String KEY_STABILITY_CONTROLS_STATUS
Constant Value
"stabilityControlsStatus"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCResponse KEY_SUCCESS, KEY_INFO, KEY_RESULT_CODE
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

UnsubscribeVehicleDataResponse()

Constructs a new UnsubscribeVehicleDataResponse object

public UnsubscribeVehicleDataResponse()

UnsubscribeVehicleDataResponse( Boolean success, Result resultCode )

Constructs a new UnsubscribeVehicleDataResponse object

public UnsubscribeVehicleDataResponse(Boolean success,Result resultCode)

Parameters

success
whether the request is successfully processed
resultCode
whether the request is successfully processed

UnsubscribeVehicleDataResponse( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new UnsubscribeVehicleDataResponse object indicated by the Hashtable parameter

public UnsubscribeVehicleDataResponse(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash
The Hashtable to use to build this RPC

Methods

setGps( VehicleDataResult gps )

Sets Gps

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setGps(VehicleDataResult gps)

Parameters

gps
a VehicleDataResult related to GPS

getGps()

Gets Gps

public com.smartdevicelink.proxy.rpc.VehicleDataResult getGps()

setSpeed( VehicleDataResult speed )

Sets Speed

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setSpeed(VehicleDataResult speed)

Parameters

speed
a VehicleDataResult related to speed

getSpeed()

Gets Speed

public com.smartdevicelink.proxy.rpc.VehicleDataResult getSpeed()

setRpm( VehicleDataResult rpm )

Sets rpm

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setRpm(VehicleDataResult rpm)

Parameters

rpm
a VehicleDataResult related to RPM

getRpm()

Gets rpm

public com.smartdevicelink.proxy.rpc.VehicleDataResult getRpm()

setFuelLevel( VehicleDataResult fuelLevel )

Deprecated
Sets the fuelLevel.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setFuelLevel(VehicleDataResult fuelLevel)

Parameters

fuelLevel
The fuel level in the tank (percentage). This parameter is deprecated starting RPC Spec 7.0, please see fuelRange.

getFuelLevel()

Deprecated
Gets the fuelLevel.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getFuelLevel()

setFuelLevelState( VehicleDataResult fuelLevelState )

Deprecated
Sets Fuel Level State

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setFuelLevelState(VehicleDataResult fuelLevelState)

Parameters

fuelLevelState
a VehicleDataResult related to FuelLevel State

getFuelLevelState()

Deprecated
Gets Fuel Level State

public com.smartdevicelink.proxy.rpc.VehicleDataResult getFuelLevelState()

setInstantFuelConsumption( VehicleDataResult instantFuelConsumption )

Sets Instant Fuel Consumption

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setInstantFuelConsumption(VehicleDataResult instantFuelConsumption)

Parameters

instantFuelConsumption
a VehicleDataResult related to instant fuel consumption

getInstantFuelConsumption()

Gets Instant Fuel Consumption

public com.smartdevicelink.proxy.rpc.VehicleDataResult getInstantFuelConsumption()

setExternalTemperature( VehicleDataResult externalTemperature )

Sets External Temperature

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setExternalTemperature(VehicleDataResult externalTemperature)

Parameters

externalTemperature
a VehicleDataResult related to external temperature

getExternalTemperature()

Gets External Temperature

public com.smartdevicelink.proxy.rpc.VehicleDataResult getExternalTemperature()

setPrndl( VehicleDataResult prndl )

Deprecated
Sets the prndl.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setPrndl(VehicleDataResult prndl)

Parameters

prndl
See PRNDL.

getPrndl()

Deprecated
Gets the prndl.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getPrndl()

setTirePressure( VehicleDataResult tirePressure )

Sets Tire Pressure

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setTirePressure(VehicleDataResult tirePressure)

Parameters

tirePressure
a VehicleDataResult related to tire pressure

getTirePressure()

Gets Tire Pressure

public com.smartdevicelink.proxy.rpc.VehicleDataResult getTirePressure()

setOdometer( VehicleDataResult odometer )

Sets Odometer

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setOdometer(VehicleDataResult odometer)

Parameters

odometer
a VehicleDataResult related to the odometer

getOdometer()

Gets Odometer

public com.smartdevicelink.proxy.rpc.VehicleDataResult getOdometer()

setBeltStatus( VehicleDataResult beltStatus )

Sets Belt Status

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setBeltStatus(VehicleDataResult beltStatus)

Parameters

beltStatus
a VehicleDataResult related to the seat belt status

getBeltStatus()

Gets Belt Status

public com.smartdevicelink.proxy.rpc.VehicleDataResult getBeltStatus()

setBodyInformation( VehicleDataResult bodyInformation )

Sets Body Information

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setBodyInformation(VehicleDataResult bodyInformation)

Parameters

bodyInformation
a VehicleDataResult related to the body info

getBodyInformation()

Gets Body Information

public com.smartdevicelink.proxy.rpc.VehicleDataResult getBodyInformation()

setDeviceStatus( VehicleDataResult deviceStatus )

Sets Device Status

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setDeviceStatus(VehicleDataResult deviceStatus)

Parameters

deviceStatus
a VehicleDataResult related to the device status of the connected device

getDeviceStatus()

Gets Device Status

public com.smartdevicelink.proxy.rpc.VehicleDataResult getDeviceStatus()

setDriverBraking( VehicleDataResult driverBraking )

Sets Driver Braking

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setDriverBraking(VehicleDataResult driverBraking)

Parameters

driverBraking
a VehicleDataResult related to the driver breaking status

getDriverBraking()

Gets Driver Braking

public com.smartdevicelink.proxy.rpc.VehicleDataResult getDriverBraking()

setWiperStatus( VehicleDataResult wiperStatus )

Sets Wiper Status

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setWiperStatus(VehicleDataResult wiperStatus)

Parameters

wiperStatus
a VehicleDataResult related to the wiper status

getWiperStatus()

Gets Wiper Status

public com.smartdevicelink.proxy.rpc.VehicleDataResult getWiperStatus()

setHeadLampStatus( VehicleDataResult headLampStatus )

Sets Head Lamp Status

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setHeadLampStatus(VehicleDataResult headLampStatus)

Parameters

headLampStatus
a VehicleDataResult related to the headlamp status

getHeadLampStatus()

Gets Head Lamp Status

public com.smartdevicelink.proxy.rpc.VehicleDataResult getHeadLampStatus()

setEngineTorque( VehicleDataResult engineTorque )

Sets Engine Torque

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setEngineTorque(VehicleDataResult engineTorque)

Parameters

engineTorque
a VehicleDataResult related to the engine's torque

getEngineTorque()

Gets Engine Torque

public com.smartdevicelink.proxy.rpc.VehicleDataResult getEngineTorque()

setEngineOilLife( VehicleDataResult engineOilLife )

Sets Engine Oil Life

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setEngineOilLife(VehicleDataResult engineOilLife)

Parameters

engineOilLife
a VehicleDataResult related to the engine's oil life

getEngineOilLife()

Gets Engine Oil Life

public com.smartdevicelink.proxy.rpc.VehicleDataResult getEngineOilLife()

setAccPedalPosition( VehicleDataResult accPedalPosition )

Sets AccPedal Position

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setAccPedalPosition(VehicleDataResult accPedalPosition)

Parameters

accPedalPosition
a VehicleDataResult related to the accelerator pedal's position

getAccPedalPosition()

Gets AccPedal Position

public com.smartdevicelink.proxy.rpc.VehicleDataResult getAccPedalPosition()

setSteeringWheelAngle( VehicleDataResult steeringWheelAngle )

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setSteeringWheelAngle(VehicleDataResult steeringWheelAngle)

Parameters

steeringWheelAngle

getSteeringWheelAngle()

public com.smartdevicelink.proxy.rpc.VehicleDataResult getSteeringWheelAngle()

setECallInfo( VehicleDataResult eCallInfo )

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setECallInfo(VehicleDataResult eCallInfo)

Parameters

eCallInfo

getECallInfo()

public com.smartdevicelink.proxy.rpc.VehicleDataResult getECallInfo()

setAirbagStatus( VehicleDataResult airbagStatus )

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setAirbagStatus(VehicleDataResult airbagStatus)

Parameters

airbagStatus

getAirbagStatus()

public com.smartdevicelink.proxy.rpc.VehicleDataResult getAirbagStatus()

setEmergencyEvent( VehicleDataResult emergencyEvent )

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setEmergencyEvent(VehicleDataResult emergencyEvent)

Parameters

emergencyEvent

getEmergencyEvent()

public com.smartdevicelink.proxy.rpc.VehicleDataResult getEmergencyEvent()

setClusterModeStatus( VehicleDataResult clusterModeStatus )

Deprecated

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setClusterModeStatus(VehicleDataResult clusterModeStatus)

Parameters

clusterModeStatus

getClusterModeStatus()

Deprecated

public com.smartdevicelink.proxy.rpc.VehicleDataResult getClusterModeStatus()

setClusterModes( VehicleDataResult clusterMode )

Sets the status modes of the cluster

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setClusterModes(VehicleDataResult clusterMode)

Parameters

clusterMode
the status modes of the cluster

getClusterModes()

Gets the status modes of the cluster

public com.smartdevicelink.proxy.rpc.VehicleDataResult getClusterModes()

setMyKey( VehicleDataResult myKey )

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setMyKey(VehicleDataResult myKey)

Parameters

myKey

getMyKey()

public com.smartdevicelink.proxy.rpc.VehicleDataResult getMyKey()

setFuelRange( VehicleDataResult fuelRange )

Sets the fuelRange.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setFuelRange(VehicleDataResult fuelRange)

Parameters

fuelRange
The fuel type, estimated range in KM, fuel level/capacity and fuel level state for the vehicle. See struct FuelRange for details.

getFuelRange()

Gets the fuelRange.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getFuelRange()

setTurnSignal( VehicleDataResult turnSignal )

Sets turnSignal

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setTurnSignal(VehicleDataResult turnSignal)

Parameters

turnSignal
a VehicleDataResult related to the turn signal status

getTurnSignal()

Gets turnSignal

public com.smartdevicelink.proxy.rpc.VehicleDataResult getTurnSignal()

setElectronicParkBrakeStatus( VehicleDataResult electronicParkBrakeStatus )

Sets electronicParkBrakeStatus

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setElectronicParkBrakeStatus(VehicleDataResult electronicParkBrakeStatus)

Parameters

electronicParkBrakeStatus
a VehicleDataResult related to the electronic park brake status

getElectronicParkBrakeStatus()

Gets electronicParkBrakeStatus

public com.smartdevicelink.proxy.rpc.VehicleDataResult getElectronicParkBrakeStatus()

setCloudAppVehicleID( VehicleDataResult cloudAppVehicleID )

Sets cloudAppVehicleID

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setCloudAppVehicleID(VehicleDataResult cloudAppVehicleID)

Parameters

cloudAppVehicleID
a VehicleDataResult related to the cloud app vehicle ID

getCloudAppVehicleID()

Gets a VehicleDataResult for the unsubscribe response of the CloudAppVehicleID vehicle data item.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getCloudAppVehicleID()

setOEMCustomVehicleData( String vehicleDataName, VehicleDataResult vehicleDataState )

Sets a value for OEM Custom VehicleData.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setOEMCustomVehicleData(String vehicleDataName,VehicleDataResult vehicleDataState)

Parameters

vehicleDataName
a String value
vehicleDataState
a VehicleDataResult value

getOEMCustomVehicleData( String vehicleDataName )

Gets a VehicleDataResult for the vehicle data item.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getOEMCustomVehicleData(String vehicleDataName)

Parameters

vehicleDataName

setHandsOffSteering( VehicleDataResult handsOffSteering )

Sets the handsOffSteering.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setHandsOffSteering(VehicleDataResult handsOffSteering)

Parameters

handsOffSteering
To indicate whether driver hands are off the steering wheel

getHandsOffSteering()

Gets the handsOffSteering.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getHandsOffSteering()

setWindowStatus( VehicleDataResult windowStatus )

Sets the windowStatus.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setWindowStatus(VehicleDataResult windowStatus)

Parameters

windowStatus
See WindowStatus

getWindowStatus()

Gets the windowStatus.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getWindowStatus()

setGearStatus( VehicleDataResult gearStatus )

Sets the gearStatus.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setGearStatus(VehicleDataResult gearStatus)

Parameters

gearStatus
See GearStatus

getGearStatus()

Gets the gearStatus.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getGearStatus()

getStabilityControlsStatus()

Gets the stabilityControlsStatus.

public com.smartdevicelink.proxy.rpc.VehicleDataResult getStabilityControlsStatus()

setStabilityControlsStatus( VehicleDataResult stabilityControlsStatus )

Sets the stabilityControlsStatus.

public com.smartdevicelink.proxy.rpc.UnsubscribeVehicleDataResponse setStabilityControlsStatus(VehicleDataResult stabilityControlsStatus)

Parameters

stabilityControlsStatus
See StabilityControlsStatus

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCResponse getCorrelationID, setCorrelationID, getSuccess, setSuccess, getResultCode, setResultCode, getInfo, setInfo
com.smartdevicelink.proxy.RPCMessage getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section