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

Class UnsubscribeVehicleData

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

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

Parameter List

Name Type Description Reg. Notes Version
gps Boolean GPS data. See {@linkplain GPSdata} for details N Subscribable SmartDeviceLink 2.0
speed Boolean The vehicle speed in kilometers per hour N Subscribable SmartDeviceLink 2.0
rpm Boolean The number of revolutions per minute of the engine N Subscribable SmartDeviceLink 2.0
fuelLevel Boolean The fuel level in the tank (percentage) N Subscribable SmartDeviceLink 2.0
fuelLevel_State Boolean The fuel level state N Subscribable SmartDeviceLink 2.0
instantFuelConsumption Boolean The instantaneous fuel consumption in microlitres N Subscribable SmartDeviceLink 2.0
externalTemperature Boolean The external temperature in degrees celsius N Subscribable SmartDeviceLink 2.0
prndl Boolean Currently selected gear. N Subscribable SmartDeviceLink 2.0
tirePressure Boolean Tire pressure status N Subscribable SmartDeviceLink 2.0
odometer Boolean Odometer in km N Max Length: 500 SmartDeviceLink 2.0
beltStatus Boolean The status of the seat belts N Subscribable SmartDeviceLink 2.0
bodyInformation Boolean The body information including ignition status and internal temp N Subscribable SmartDeviceLink 2.0
deviceStatus Boolean The device status including signal and battery strength N Subscribable SmartDeviceLink 2.0
driverBraking Boolean The status of the brake pedal N Subscribable SmartDeviceLink 2.0
wiperStatus Boolean The status of the wipers N Subscribable SmartDeviceLink 2.0
headLampStatus Boolean Status of the head lamps N Subscribable SmartDeviceLink 2.0
engineTorque Boolean Torque value for engine (in Nm) on non-diesel variants N Subscribable SmartDeviceLink 2.0
engineOilLife Boolean The estimated percentage of remaining oil life of the engine N Subscribable SmartDeviceLink 5.0
accPedalPosition Boolean Accelerator pedal position (percentage depressed) N Subscribable SmartDeviceLink 2.0
steeringWheelAngle Boolean Current angle of the steering wheel (in deg) N Subscribable SmartDeviceLink 2.0
eCallInfo Boolean Emergency Call notification and confirmation data. N Subscribable SmartDeviceLink 2.0
airbagStatus Boolean The status of the air bags. N Subscribable SmartDeviceLink 2.0
emergencyEvent Boolean Information related to an emergency event (and if it occurred). N Subscribable SmartDeviceLink 2.0
clusterModeStatus Boolean The status modes of the instrument panel cluster. N Subscribable SmartDeviceLink 2.0
myKey Boolean Information related to the MyKey feature. N Subscribable SmartDeviceLink 2.0
turnSignal Boolean @see TurnSignal N Subscribable SmartDeviceLink 5.0

Response

Non-default Result Codes:

SUCCESS

WARNINGS

INVALID_DATA

OUT_OF_MEMORY

TOO_MANY_PENDING_REQUESTS

APPLICATION_NOT_REGISTERED

GENERIC_ERROR

IGNORED

DISALLOWED

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_FUEL_LEVEL

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

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_FUEL_LEVEL_STATE

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

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_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"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
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

UnsubscribeVehicleData()

Constructs a new UnsubscribeVehicleData object

public UnsubscribeVehicleData()

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

Constructs a new UnsubscribeVehicleData object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

Methods

setGps( Boolean gps )

Sets a boolean value. If true, unsubscribes Gps data

public void setGps(Boolean gps)

Parameters

gps
a boolean value

getGps()

Gets a boolean value. If true, means the Gps data has been unsubscribed.

public java.lang.Boolean getGps()

setSpeed( Boolean speed )

Sets a boolean value. If true, unsubscribes speed data

public void setSpeed(Boolean speed)

Parameters

speed
a boolean value

getSpeed()

Gets a boolean value. If true, means the Speed data has been unsubscribed.

public java.lang.Boolean getSpeed()

setRpm( Boolean rpm )

Sets a boolean value. If true, unsubscribe data

public void setRpm(Boolean rpm)

Parameters

rpm
a boolean value

getRpm()

Gets a boolean value. If true, means the rpm data has been unsubscribed.

public java.lang.Boolean getRpm()

setFuelLevel( Boolean fuelLevel )

Sets a boolean value. If true, unsubscribes FuelLevel data

public void setFuelLevel(Boolean fuelLevel)

Parameters

fuelLevel
a boolean value

getFuelLevel()

Gets a boolean value. If true, means the FuelLevel data has been unsubscribed.

public java.lang.Boolean getFuelLevel()

setFuelLevel_State( Boolean fuelLevel_State )

Deprecated
Sets a boolean value. If true, unsubscribes fuelLevel_State data

public void setFuelLevel_State(Boolean fuelLevel_State)

Parameters

fuelLevel_State
a boolean value

getFuelLevel_State()

Deprecated
Gets a boolean value. If true, means the fuelLevel_State data has been unsubscribed.

public java.lang.Boolean getFuelLevel_State()

setFuelLevelState( Boolean fuelLevelState )

Sets a boolean value. If true, unsubscribes fuelLevelState data

public void setFuelLevelState(Boolean fuelLevelState)

Parameters

fuelLevelState
a boolean value

getFuelLevelState()

Gets a boolean value. If true, means the fuelLevel_State data has been unsubscribed.

public java.lang.Boolean getFuelLevelState()

setInstantFuelConsumption( Boolean instantFuelConsumption )

Sets a boolean value. If true, unsubscribes instantFuelConsumption data

public void setInstantFuelConsumption(Boolean instantFuelConsumption)

Parameters

instantFuelConsumption
a boolean value

getInstantFuelConsumption()

Gets a boolean value. If true, means the getInstantFuelConsumption data has been unsubscribed.

public java.lang.Boolean getInstantFuelConsumption()

setExternalTemperature( Boolean externalTemperature )

Sets a boolean value. If true, unsubscribes externalTemperature data

public void setExternalTemperature(Boolean externalTemperature)

Parameters

externalTemperature
a boolean value

getExternalTemperature()

Gets a boolean value. If true, means the externalTemperature data has been unsubscribed.

public java.lang.Boolean getExternalTemperature()

setPrndl( Boolean prndl )

Sets a boolean value. If true, unsubscribes Currently selected gear data

public void setPrndl(Boolean prndl)

Parameters

prndl
a boolean value

getPrndl()

Gets a boolean value. If true, means the Currently selected gear data has been unsubscribed.

public java.lang.Boolean getPrndl()

setTirePressure( Boolean tirePressure )

Sets a boolean value. If true, unsubscribes tire pressure status data

public void setTirePressure(Boolean tirePressure)

Parameters

tirePressure
a boolean value

getTirePressure()

Gets a boolean value. If true, means the tire pressure status data has been unsubscribed.

public java.lang.Boolean getTirePressure()

setOdometer( Boolean odometer )

Sets a boolean value. If true, unsubscribes odometer data

public void setOdometer(Boolean odometer)

Parameters

odometer
a boolean value

getOdometer()

Gets a boolean value. If true, means the odometer data has been unsubscribed.

public java.lang.Boolean getOdometer()

setBeltStatus( Boolean beltStatus )

Sets a boolean value. If true, unsubscribes belt Status data

public void setBeltStatus(Boolean beltStatus)

Parameters

beltStatus
a boolean value

getBeltStatus()

Gets a boolean value. If true, means the belt Status data has been unsubscribed.

public java.lang.Boolean getBeltStatus()

setBodyInformation( Boolean bodyInformation )

Sets a boolean value. If true, unsubscribes body Information data

public void setBodyInformation(Boolean bodyInformation)

Parameters

bodyInformation
a boolean value

getBodyInformation()

Gets a boolean value. If true, means the body Information data has been unsubscribed.

public java.lang.Boolean getBodyInformation()

setDeviceStatus( Boolean deviceStatus )

Sets a boolean value. If true, unsubscribes device Status data

public void setDeviceStatus(Boolean deviceStatus)

Parameters

deviceStatus
a boolean value

getDeviceStatus()

Gets a boolean value. If true, means the device Status data has been unsubscribed.

public java.lang.Boolean getDeviceStatus()

setDriverBraking( Boolean driverBraking )

Sets a boolean value. If true, unsubscribes driver Braking data

public void setDriverBraking(Boolean driverBraking)

Parameters

driverBraking
a boolean value

getDriverBraking()

Gets a boolean value. If true, means the driver Braking data has been unsubscribed.

public java.lang.Boolean getDriverBraking()

setWiperStatus( Boolean wiperStatus )

Sets a boolean value. If true, unsubscribes wiper Status data

public void setWiperStatus(Boolean wiperStatus)

Parameters

wiperStatus
a boolean value

getWiperStatus()

Gets a boolean value. If true, means the wiper Status data has been unsubscribed.

public java.lang.Boolean getWiperStatus()

setHeadLampStatus( Boolean headLampStatus )

Sets a boolean value. If true, unsubscribes Head Lamp Status data

public void setHeadLampStatus(Boolean headLampStatus)

Parameters

headLampStatus
a boolean value

getHeadLampStatus()

Gets a boolean value. If true, means the Head Lamp Status data has been unsubscribed.

public java.lang.Boolean getHeadLampStatus()

setEngineTorque( Boolean engineTorque )

Sets a boolean value. If true, unsubscribes Engine Torque data

public void setEngineTorque(Boolean engineTorque)

Parameters

engineTorque
a boolean value

getEngineTorque()

Gets a boolean value. If true, means the Engine Torque data has been unsubscribed.

public java.lang.Boolean getEngineTorque()

setEngineOilLife( Boolean engineOilLife )

Sets a boolean value. If true, unsubscribes Engine Oil Life data

public void setEngineOilLife(Boolean engineOilLife)

Parameters

engineOilLife
a boolean value

getEngineOilLife()

Gets a boolean value. If true, means the Engine Oil Life data has been unsubscribed.

public java.lang.Boolean getEngineOilLife()

setAccPedalPosition( Boolean accPedalPosition )

Sets a boolean value. If true, unsubscribes accPedalPosition data

public void setAccPedalPosition(Boolean accPedalPosition)

Parameters

accPedalPosition
a boolean value

getAccPedalPosition()

Gets a boolean value. If true, means the accPedalPosition data has been unsubscribed.

public java.lang.Boolean getAccPedalPosition()

setSteeringWheelAngle( Boolean steeringWheelAngle )

public void setSteeringWheelAngle(Boolean steeringWheelAngle)

Parameters

steeringWheelAngle

getSteeringWheelAngle()

public java.lang.Boolean getSteeringWheelAngle()

setECallInfo( Boolean eCallInfo )

public void setECallInfo(Boolean eCallInfo)

Parameters

eCallInfo

getECallInfo()

public java.lang.Boolean getECallInfo()

setAirbagStatus( Boolean airbagStatus )

public void setAirbagStatus(Boolean airbagStatus)

Parameters

airbagStatus

getAirbagStatus()

public java.lang.Boolean getAirbagStatus()

setEmergencyEvent( Boolean emergencyEvent )

public void setEmergencyEvent(Boolean emergencyEvent)

Parameters

emergencyEvent

getEmergencyEvent()

public java.lang.Boolean getEmergencyEvent()

setClusterModeStatus( Boolean clusterModeStatus )

public void setClusterModeStatus(Boolean clusterModeStatus)

Parameters

clusterModeStatus

getClusterModeStatus()

public java.lang.Boolean getClusterModeStatus()

setMyKey( Boolean myKey )

public void setMyKey(Boolean myKey)

Parameters

myKey

getMyKey()

public java.lang.Boolean getMyKey()

setFuelRange( Boolean fuelRange )

Sets a boolean value. If true, unsubscribes fuelRange data

public void setFuelRange(Boolean fuelRange)

Parameters

fuelRange
a boolean value

getFuelRange()

Gets a boolean value. If true, means the fuelRange data has been unsubscribed.

public java.lang.Boolean getFuelRange()

setTurnSignal( Boolean turnSignal )

Sets a boolean value. If true, subscribes turnSignal data

public void setTurnSignal(Boolean turnSignal)

Parameters

turnSignal
a boolean value

getTurnSignal()

Gets a boolean value. If true, means the turnSignal data has been subscribed.

public java.lang.Boolean getTurnSignal()

setElectronicParkBrakeStatus( Boolean electronicParkBrakeStatus )

Sets a boolean value. If true, subscribes electronicParkBrakeStatus data

public void setElectronicParkBrakeStatus(Boolean electronicParkBrakeStatus)

Parameters

electronicParkBrakeStatus
a boolean value

getElectronicParkBrakeStatus()

Gets a boolean value. If true, means the electronicParkBrakeStatus data has been subscribed.

public java.lang.Boolean getElectronicParkBrakeStatus()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
com.smartdevicelink.proxy.RPCMessage getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, 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