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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaSE Documentation
SubscribeVehicleDataResponse

Class SubscribeVehicleDataResponse

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Subscribe Vehicle Data Response is sent, when SubscribeVehicleData 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_GEAR_STATUS

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

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

KEY_CLIMATE_DATA

public static final java.lang.String KEY_CLIMATE_DATA
Constant Value
"climateData"

KEY_SEAT_OCCUPANCY

public static final java.lang.String KEY_SEAT_OCCUPANCY
Constant Value
"seatOccupancy"

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

SubscribeVehicleDataResponse()

Constructs a new SubscribeVehicleDataResponse object

public SubscribeVehicleDataResponse()

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

Constructs a new SubscribeVehicleDataResponse object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

SubscribeVehicleDataResponse( Boolean success, Result resultCode )

Constructs a new SubscribeVehicleDataResponse object

public SubscribeVehicleDataResponse(Boolean success,Result resultCode)

Constructor Parameters

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

Methods

setGps( VehicleDataResult gps )

Sets Gps

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

Method 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.SubscribeVehicleDataResponse setSpeed(VehicleDataResult speed)

Method 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.SubscribeVehicleDataResponse setRpm(VehicleDataResult rpm)

Method 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.SubscribeVehicleDataResponse setFuelLevel(VehicleDataResult fuelLevel)

Method 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.SubscribeVehicleDataResponse setFuelLevelState(VehicleDataResult fuelLevelState)

Method 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.SubscribeVehicleDataResponse setInstantFuelConsumption(VehicleDataResult instantFuelConsumption)

Method Parameters

instantFuelConsumption
a VehicleDataResult related to instant fuel consumption

getInstantFuelConsumption()

Gets Instant Fuel Consumption

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

setExternalTemperature( VehicleDataResult externalTemperature )

Deprecated
Sets the externalTemperature.

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

Method Parameters

externalTemperature
The external temperature in degrees celsius. This parameter is deprecated starting RPC Spec 7.1.0, please see climateData.

getExternalTemperature()

Deprecated
Gets the externalTemperature.

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

setPrndl( VehicleDataResult prndl )

Deprecated
Sets the prndl.

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

Method Parameters

prndl
See PRNDL. This parameter is deprecated and it is now covered in `gearStatus`

getPrndl()

Deprecated
Gets the prndl.

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

setTirePressure( VehicleDataResult tirePressure )

Sets Tire Pressure

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

Method 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.SubscribeVehicleDataResponse setOdometer(VehicleDataResult odometer)

Method 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.SubscribeVehicleDataResponse setBeltStatus(VehicleDataResult beltStatus)

Method 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.SubscribeVehicleDataResponse setBodyInformation(VehicleDataResult bodyInformation)

Method 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.SubscribeVehicleDataResponse setDeviceStatus(VehicleDataResult deviceStatus)

Method 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.SubscribeVehicleDataResponse setDriverBraking(VehicleDataResult driverBraking)

Method 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.SubscribeVehicleDataResponse setWiperStatus(VehicleDataResult wiperStatus)

Method 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.SubscribeVehicleDataResponse setHeadLampStatus(VehicleDataResult headLampStatus)

Method 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.SubscribeVehicleDataResponse setEngineTorque(VehicleDataResult engineTorque)

Method 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.SubscribeVehicleDataResponse setEngineOilLife(VehicleDataResult engineOilLife)

Method 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.SubscribeVehicleDataResponse setAccPedalPosition(VehicleDataResult accPedalPosition)

Method 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.SubscribeVehicleDataResponse setSteeringWheelAngle(VehicleDataResult steeringWheelAngle)

Method Parameters

steeringWheelAngle

getSteeringWheelAngle()

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

setECallInfo( VehicleDataResult eCallInfo )

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

Method Parameters

eCallInfo

getECallInfo()

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

setAirbagStatus( VehicleDataResult airbagStatus )

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

Method Parameters

airbagStatus

getAirbagStatus()

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

setEmergencyEvent( VehicleDataResult emergencyEvent )

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

Method Parameters

emergencyEvent

getEmergencyEvent()

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

setClusterModeStatus( VehicleDataResult clusterModeStatus )

Deprecated

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

Method 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.SubscribeVehicleDataResponse setClusterModes(VehicleDataResult clusterMode)

Method 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.SubscribeVehicleDataResponse setMyKey(VehicleDataResult myKey)

Method Parameters

myKey

getMyKey()

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

setFuelRange( VehicleDataResult fuelRange )

Sets the fuelRange.

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

Method 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.SubscribeVehicleDataResponse setTurnSignal(VehicleDataResult turnSignal)

Method 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.SubscribeVehicleDataResponse setElectronicParkBrakeStatus(VehicleDataResult electronicParkBrakeStatus)

Method 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.SubscribeVehicleDataResponse setCloudAppVehicleID(VehicleDataResult cloudAppVehicleID)

Method Parameters

cloudAppVehicleID
a VehicleDataResult related to the cloud app vehicle ID

getCloudAppVehicleID()

Gets a VehicleDataResult for the subscription 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.SubscribeVehicleDataResponse setOEMCustomVehicleData(String vehicleDataName,VehicleDataResult vehicleDataState)

Method 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)

Method Parameters

vehicleDataName

setHandsOffSteering( VehicleDataResult handsOffSteering )

Sets the handsOffSteering.

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

Method Parameters

handsOffSteering
To indicate whether driver hands are off the steering wheel

getHandsOffSteering()

Gets the handsOffSteering.

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

setGearStatus( VehicleDataResult gearStatus )

Sets the gearStatus.

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

Method Parameters

gearStatus
See GearStatus

getGearStatus()

Gets the gearStatus.

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

setWindowStatus( VehicleDataResult windowStatus )

Sets the windowStatus.

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

Method Parameters

windowStatus
See WindowStatus

getWindowStatus()

Gets the windowStatus.

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

getStabilityControlsStatus()

Gets the stabilityControlsStatus.

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

setStabilityControlsStatus( VehicleDataResult stabilityControlsStatus )

Sets the stabilityControlsStatus.

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

Method Parameters

stabilityControlsStatus
See StabilityControlsStatus

setClimateData( VehicleDataResult climateData )

Sets the climateData.

public com.smartdevicelink.proxy.rpc.SubscribeVehicleDataResponse setClimateData(VehicleDataResult climateData)

Method Parameters

climateData
See ClimateData

getClimateData()

Gets the climateData.

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

setSeatOccupancy( VehicleDataResult seatOccupancy )

Sets the seatOccupancy.

public com.smartdevicelink.proxy.rpc.SubscribeVehicleDataResponse setSeatOccupancy(VehicleDataResult seatOccupancy)

Method Parameters

seatOccupancy
See SeatOccupancy

getSeatOccupancy()

Gets the seatOccupancy.

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

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, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section