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
JavaEE Documentation
GetVehicleDataResponse

Class GetVehicleDataResponse

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Get Vehicle Data Response is sent, when GetVehicleData has been called.

Quick Jump

Fields
Constructors
Methods

Fields

KEY_GPS

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

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

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

KEY_FUEL_RANGE

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

KEY_EXTERNAL_TEMPERATURE

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

KEY_TURN_SIGNAL

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

KEY_VIN

public static final java.lang.String KEY_VIN
Constant Value
"vin"

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_ODOMETER

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

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_ENGINE_TORQUE

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

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_ENGINE_OIL_LIFE

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

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

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

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

GetVehicleDataResponse()

Constructs a new GetVehicleDataResponse object

public GetVehicleDataResponse()

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

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

Constructor Parameters

hash

GetVehicleDataResponse( Boolean success, Result resultCode )

Constructs a new GetVehicleDataResponse object

public GetVehicleDataResponse(Boolean success,Result resultCode)

Constructor Parameters

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

Methods

setGps( GPSData gps )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setGps(GPSData gps)

Method Parameters

gps

getGps()

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

setSpeed( Double speed )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setSpeed(Double speed)

Method Parameters

speed

getSpeed()

public java.lang.Double getSpeed()

setRpm( Integer rpm )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setRpm(Integer rpm)

Method Parameters

rpm

getRpm()

public java.lang.Integer getRpm()

setFuelLevelState( ComponentVolumeStatus fuelLevelState )

Deprecated
Sets Fuel Level State

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setFuelLevelState(ComponentVolumeStatus fuelLevelState)

Method Parameters

fuelLevelState
a ComponentVolumeStatus related to FuelLevel State

getFuelLevelState()

Deprecated
Gets Fuel Level State

public com.smartdevicelink.proxy.rpc.enums.ComponentVolumeStatus getFuelLevelState()

setFuelLevel( Double fuelLevel )

Deprecated
Sets the fuelLevel.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setFuelLevel(Double 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 java.lang.Double getFuelLevel()

setInstantFuelConsumption( Double instantFuelConsumption )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setInstantFuelConsumption(Double instantFuelConsumption)

Method Parameters

instantFuelConsumption

getInstantFuelConsumption()

public java.lang.Double getInstantFuelConsumption()

setExternalTemperature( Double externalTemperature )

Deprecated
Sets the externalTemperature.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setExternalTemperature(Double externalTemperature)

Method Parameters

externalTemperature
The external temperature in degrees celsius. This parameter is deprecated starting RPC Spec 7.1.0, please see climateData. {"num_min_value": -40.0, "num_max_value": 100.0}

getExternalTemperature()

Deprecated
Gets the externalTemperature.

public java.lang.Double getExternalTemperature()

setVin( String vin )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setVin(String vin)

Method Parameters

vin

getVin()

public java.lang.String getVin()

setPrndl( PRNDL prndl )

Deprecated
Sets the prndl.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setPrndl(PRNDL 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.enums.PRNDL getPrndl()

setTirePressure( TireStatus tirePressure )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setTirePressure(TireStatus tirePressure)

Method Parameters

tirePressure

getTirePressure()

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

setOdometer( Integer odometer )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setOdometer(Integer odometer)

Method Parameters

odometer

getOdometer()

public java.lang.Integer getOdometer()

setBeltStatus( BeltStatus beltStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setBeltStatus(BeltStatus beltStatus)

Method Parameters

beltStatus

getBeltStatus()

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

setBodyInformation( BodyInformation bodyInformation )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setBodyInformation(BodyInformation bodyInformation)

Method Parameters

bodyInformation

getBodyInformation()

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

setDeviceStatus( DeviceStatus deviceStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setDeviceStatus(DeviceStatus deviceStatus)

Method Parameters

deviceStatus

getDeviceStatus()

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

setDriverBraking( VehicleDataEventStatus driverBraking )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setDriverBraking(VehicleDataEventStatus driverBraking)

Method Parameters

driverBraking

getDriverBraking()

public com.smartdevicelink.proxy.rpc.enums.VehicleDataEventStatus getDriverBraking()

setWiperStatus( WiperStatus wiperStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setWiperStatus(WiperStatus wiperStatus)

Method Parameters

wiperStatus

getWiperStatus()

public com.smartdevicelink.proxy.rpc.enums.WiperStatus getWiperStatus()

setHeadLampStatus( HeadLampStatus headLampStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setHeadLampStatus(HeadLampStatus headLampStatus)

Method Parameters

headLampStatus

getHeadLampStatus()

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

setEngineTorque( Double engineTorque )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setEngineTorque(Double engineTorque)

Method Parameters

engineTorque

getEngineTorque()

public java.lang.Double getEngineTorque()

setEngineOilLife( Float engineOilLife )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setEngineOilLife(Float engineOilLife)

Method Parameters

engineOilLife

getEngineOilLife()

public java.lang.Float getEngineOilLife()

setAccPedalPosition( Double accPedalPosition )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setAccPedalPosition(Double accPedalPosition)

Method Parameters

accPedalPosition

getAccPedalPosition()

public java.lang.Double getAccPedalPosition()

setSteeringWheelAngle( Double steeringWheelAngle )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setSteeringWheelAngle(Double steeringWheelAngle)

Method Parameters

steeringWheelAngle

getSteeringWheelAngle()

public java.lang.Double getSteeringWheelAngle()

setECallInfo( ECallInfo eCallInfo )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setECallInfo(ECallInfo eCallInfo)

Method Parameters

eCallInfo

getECallInfo()

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

setAirbagStatus( AirbagStatus airbagStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setAirbagStatus(AirbagStatus airbagStatus)

Method Parameters

airbagStatus

getAirbagStatus()

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

setEmergencyEvent( EmergencyEvent emergencyEvent )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setEmergencyEvent(EmergencyEvent emergencyEvent)

Method Parameters

emergencyEvent

getEmergencyEvent()

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

setClusterModeStatus( ClusterModeStatus clusterModeStatus )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setClusterModeStatus(ClusterModeStatus clusterModeStatus)

Method Parameters

clusterModeStatus

getClusterModeStatus()

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

setMyKey( MyKey myKey )

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setMyKey(MyKey myKey)

Method Parameters

myKey

getMyKey()

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

setFuelRange( java.util.List<com.smartdevicelink.proxy.rpc.FuelRange> fuelRange )

Sets Fuel Range List. Fuel Range - The estimate range in KM the vehicle can travel based on fuel level and consumption.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setFuelRange(java.util.List<com.smartdevicelink.proxy.rpc.FuelRange> fuelRange)

Method Parameters

fuelRange
the range in KM left as well as fuel type

getFuelRange()

Gets Fuel Range List

public java.util.List getFuelRange()

setTurnSignal( TurnSignal turnSignal )

Sets turnSignal

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setTurnSignal(TurnSignal turnSignal)

Method Parameters

turnSignal
status of the turn signals

getTurnSignal()

Gets turnSignal

public com.smartdevicelink.proxy.rpc.enums.TurnSignal getTurnSignal()

setElectronicParkBrakeStatus( ElectronicParkBrakeStatus electronicParkBrakeStatus )

Sets electronicParkBrakeStatus

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setElectronicParkBrakeStatus(ElectronicParkBrakeStatus electronicParkBrakeStatus)

Method Parameters

electronicParkBrakeStatus
status of the electronic park brake of the connected vehicle

getElectronicParkBrakeStatus()

Gets electronicParkBrakeStatus

public com.smartdevicelink.proxy.rpc.enums.ElectronicParkBrakeStatus getElectronicParkBrakeStatus()

setCloudAppVehicleID( String cloudAppVehicleID )

Sets a string value for the cloud app vehicle ID

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setCloudAppVehicleID(String cloudAppVehicleID)

Method Parameters

cloudAppVehicleID
a string value

getCloudAppVehicleID()

Gets a String value of the returned cloud app vehicle ID

public java.lang.String getCloudAppVehicleID()

setOEMCustomVehicleData( String vehicleDataName, Object vehicleDataState )

Sets a value for OEM Custom VehicleData.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setOEMCustomVehicleData(String vehicleDataName,Object vehicleDataState)

Method Parameters

vehicleDataName
a String value
vehicleDataState
a VehicleDataResult value

getOEMCustomVehicleData( String vehicleDataName )

Gets a VehicleData value for the vehicle data item.

public java.lang.Object getOEMCustomVehicleData(String vehicleDataName)

Method Parameters

vehicleDataName

setWindowStatus( java.util.List<com.smartdevicelink.proxy.rpc.WindowStatus> windowStatus )

Sets the windowStatus.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setWindowStatus(java.util.List<com.smartdevicelink.proxy.rpc.WindowStatus> windowStatus)

Method Parameters

windowStatus
See WindowStatus

getWindowStatus()

Gets the windowStatus.

public java.util.List getWindowStatus()

setHandsOffSteering( Boolean handsOffSteering )

Sets the handsOffSteering.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setHandsOffSteering(Boolean handsOffSteering)

Method Parameters

handsOffSteering
To indicate whether driver hands are off the steering wheel

getHandsOffSteering()

Gets the handsOffSteering.

public java.lang.Boolean getHandsOffSteering()

setGearStatus( GearStatus gearStatus )

Sets the gearStatus.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setGearStatus(GearStatus gearStatus)

Method Parameters

gearStatus
See GearStatus

getGearStatus()

Gets the gearStatus.

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

getStabilityControlsStatus()

Gets the stabilityControlsStatus.

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

setStabilityControlsStatus( StabilityControlsStatus stabilityControlsStatus )

Sets the stabilityControlsStatus.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setStabilityControlsStatus(StabilityControlsStatus stabilityControlsStatus)

Method Parameters

stabilityControlsStatus
See StabilityControlsStatus

setClimateData( ClimateData climateData )

Sets the climateData.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setClimateData(ClimateData climateData)

Method Parameters

climateData
See ClimateData

getClimateData()

Gets the climateData.

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

setSeatOccupancy( SeatOccupancy seatOccupancy )

Sets the seatOccupancy.

public com.smartdevicelink.proxy.rpc.GetVehicleDataResponse setSeatOccupancy(SeatOccupancy seatOccupancy)

Method Parameters

seatOccupancy
See SeatOccupancy

getSeatOccupancy()

Gets the seatOccupancy.

public com.smartdevicelink.proxy.rpc.SeatOccupancy 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