java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCRequest
Parameter List
Name | Type | Description | Reg. | Notes | Version |
---|---|---|---|---|---|
gps | Boolean | GPS data. See {@linkplain com.smartdevicelink.proxy.rpc.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). This parameter is deprecated starting RPC Spec7.0, please see fuelRange. | N | Subscribable | SmartDeviceLink 7.0.0 |
fuelLevel_State | Boolean | The fuel level state. This parameter is deprecated starting RPC Spec 7.0, please see fuelRange. | N | Subscribable | SmartDeviceLink 7.0.0 |
fuelRange | Boolean | The fuel type, estimated range in KM, fuel level/capacity and fuel level state for the vehicle. See struct FuelRange for details. | N | Subscribable | SmartDeviceLink 5.0.0 |
instantFuelConsumption | Boolean | The instantaneous fuel consumption in micro litres | N | Subscribable | SmartDeviceLink 2.0 |
externalTemperature | Boolean | The external temperature in degrees celsius. This parameter is deprecated starting RPCSpec 7.1.0, please see climateData. | N | Subscribable |
SmartDeviceLink 2.0.0
Deprecated in SmartDeviceLink 7.1.0 |
vin | Boolean | Vehicle identification number | N | Subscribable | SmartDeviceLink 2.0 |
gearStatus | Boolean | See GearStatus | N | SmartDeviceLink 7.0.0 | |
prndl | Boolean | See PRNDL. This parameter is deprecated and it is now covered in `gearStatus` | N | SmartDeviceLink 7.0.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 |
turnSignal | Boolean | @see TurnSignal | N | Subscribable | SmartDeviceLink 5.0 |
cloudAppVehicleID | Boolean | ID for the vehicle when connecting to cloud applications | N | Subscribable | SmartDeviceLink 5.1 |
stabilityControlsStatus | Boolean | See StabilityControlsStatus | N | SmartDeviceLink 7.0.0 | |
handsOffSteering | Boolean | To indicate whether driver hands are off the steering wheel | N | SmartDeviceLink 7.0.0 | |
windowStatus | Boolean | See WindowStatus | N | SmartDeviceLink 7.0.0 | |
climateData | Boolean | See ClimateData | N | SmartDeviceLink 7.1.0 | |
seatOccupancy | Boolean | See SeatOccupancy | N | SmartDeviceLink 7.1.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
VEHICLE_DATA_NOT_ALLOWED
VEHICLE_DATA_NOT_AVAILABLE
USER_DISALLOWED
public static final java.lang.String KEY_SPEED
public static final java.lang.String KEY_RPM
public static final java.lang.String KEY_EXTERNAL_TEMPERATURE
public static final java.lang.String KEY_VIN
public static final java.lang.String KEY_PRNDL
public static final java.lang.String KEY_TIRE_PRESSURE
public static final java.lang.String KEY_ENGINE_TORQUE
public static final java.lang.String KEY_ENGINE_OIL_LIFE
public static final java.lang.String KEY_ODOMETER
public static final java.lang.String KEY_GPS
public static final java.lang.String KEY_INSTANT_FUEL_CONSUMPTION
public static final java.lang.String KEY_BELT_STATUS
public static final java.lang.String KEY_BODY_INFORMATION
public static final java.lang.String KEY_DEVICE_STATUS
public static final java.lang.String KEY_DRIVER_BRAKING
public static final java.lang.String KEY_WIPER_STATUS
public static final java.lang.String KEY_HEAD_LAMP_STATUS
public static final java.lang.String KEY_ACC_PEDAL_POSITION
public static final java.lang.String KEY_STEERING_WHEEL_ANGLE
public static final java.lang.String KEY_E_CALL_INFO
public static final java.lang.String KEY_AIRBAG_STATUS
public static final java.lang.String KEY_EMERGENCY_EVENT
public static final java.lang.String KEY_CLUSTER_MODE_STATUS
public static final java.lang.String KEY_MY_KEY
public static final java.lang.String KEY_FUEL_RANGE
public static final java.lang.String KEY_TURN_SIGNAL
public static final java.lang.String KEY_ELECTRONIC_PARK_BRAKE_STATUS
public static final java.lang.String KEY_CLOUD_APP_VEHICLE_ID
public static final java.lang.String KEY_WINDOW_STATUS
public static final java.lang.String KEY_HANDS_OFF_STEERING
public static final java.lang.String KEY_GEAR_STATUS
public static final java.lang.String KEY_FUEL_LEVEL
public static final java.lang.String KEY_FUEL_LEVEL_STATE
public static final java.lang.String KEY_STABILITY_CONTROLS_STATUS
public static final java.lang.String KEY_CLIMATE_DATA
public static final java.lang.String KEY_SEAT_OCCUPANCY
Constructs a new GetVehicleData object
public GetVehicleData()
Constructs a new GetVehicleDta object indicated by the Hashtable parameter
public GetVehicleData(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public com.smartdevicelink.proxy.rpc.GetVehicleData setGps(Boolean gps)
public java.lang.Boolean getGps()
public com.smartdevicelink.proxy.rpc.GetVehicleData setSpeed(Boolean speed)
public java.lang.Boolean getSpeed()
public com.smartdevicelink.proxy.rpc.GetVehicleData setRpm(Boolean rpm)
public java.lang.Boolean getRpm()
Deprecated
Sets the fuelLevel.
public com.smartdevicelink.proxy.rpc.GetVehicleData setFuelLevel(Boolean fuelLevel)
Deprecated
Gets the fuelLevel.
public java.lang.Boolean getFuelLevel()
Deprecated
public com.smartdevicelink.proxy.rpc.GetVehicleData setFuelLevelState(Boolean fuelLevelState)
Deprecated
public java.lang.Boolean getFuelLevelState()
public com.smartdevicelink.proxy.rpc.GetVehicleData setInstantFuelConsumption(Boolean instantFuelConsumption)
public java.lang.Boolean getInstantFuelConsumption()
public com.smartdevicelink.proxy.rpc.GetVehicleData setFuelRange(Boolean fuelRange)
public java.lang.Boolean getFuelRange()
Deprecated
Sets the externalTemperature.
public com.smartdevicelink.proxy.rpc.GetVehicleData setExternalTemperature(Boolean externalTemperature)
Deprecated
Gets the externalTemperature.
public java.lang.Boolean getExternalTemperature()
public com.smartdevicelink.proxy.rpc.GetVehicleData setVin(Boolean vin)
public java.lang.Boolean getVin()
Deprecated
Sets the prndl.
public com.smartdevicelink.proxy.rpc.GetVehicleData setPrndl(Boolean prndl)
Deprecated
Gets the prndl.
public java.lang.Boolean getPrndl()
public com.smartdevicelink.proxy.rpc.GetVehicleData setTirePressure(Boolean tirePressure)
public java.lang.Boolean getTirePressure()
public com.smartdevicelink.proxy.rpc.GetVehicleData setOdometer(Boolean odometer)
public java.lang.Boolean getOdometer()
public com.smartdevicelink.proxy.rpc.GetVehicleData setBeltStatus(Boolean beltStatus)
public java.lang.Boolean getBeltStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setBodyInformation(Boolean bodyInformation)
public java.lang.Boolean getBodyInformation()
public com.smartdevicelink.proxy.rpc.GetVehicleData setDeviceStatus(Boolean deviceStatus)
public java.lang.Boolean getDeviceStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setDriverBraking(Boolean driverBraking)
public java.lang.Boolean getDriverBraking()
public com.smartdevicelink.proxy.rpc.GetVehicleData setWiperStatus(Boolean wiperStatus)
public java.lang.Boolean getWiperStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setHeadLampStatus(Boolean headLampStatus)
public java.lang.Boolean getHeadLampStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setEngineTorque(Boolean engineTorque)
public java.lang.Boolean getEngineTorque()
public com.smartdevicelink.proxy.rpc.GetVehicleData setEngineOilLife(Boolean engineOilLife)
public java.lang.Boolean getEngineOilLife()
public com.smartdevicelink.proxy.rpc.GetVehicleData setAccPedalPosition(Boolean accPedalPosition)
public java.lang.Boolean getAccPedalPosition()
public com.smartdevicelink.proxy.rpc.GetVehicleData setSteeringWheelAngle(Boolean steeringWheelAngle)
public java.lang.Boolean getSteeringWheelAngle()
public com.smartdevicelink.proxy.rpc.GetVehicleData setECallInfo(Boolean eCallInfo)
public java.lang.Boolean getECallInfo()
public com.smartdevicelink.proxy.rpc.GetVehicleData setAirbagStatus(Boolean airbagStatus)
public java.lang.Boolean getAirbagStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setEmergencyEvent(Boolean emergencyEvent)
public java.lang.Boolean getEmergencyEvent()
public com.smartdevicelink.proxy.rpc.GetVehicleData setClusterModeStatus(Boolean clusterModeStatus)
public java.lang.Boolean getClusterModeStatus()
public com.smartdevicelink.proxy.rpc.GetVehicleData setMyKey(Boolean myKey)
public java.lang.Boolean getMyKey()
Sets a boolean value. If true, subscribes turnSignal data
public com.smartdevicelink.proxy.rpc.GetVehicleData setTurnSignal(Boolean turnSignal)
Gets a boolean value. If true, means the turnSignal data has been subscribed.
public java.lang.Boolean getTurnSignal()
Sets a boolean value. If true, subscribes electronicParkBrakeStatus data
public com.smartdevicelink.proxy.rpc.GetVehicleData setElectronicParkBrakeStatus(Boolean electronicParkBrakeStatus)
Gets a boolean value. If true, means the electronicParkBrakeStatus data has been subscribed.
public java.lang.Boolean getElectronicParkBrakeStatus()
Sets a boolean value. If true, gets the cloudAppVehicleID data
public com.smartdevicelink.proxy.rpc.GetVehicleData setCloudAppVehicleID(boolean cloudAppVehicleID)
Gets a boolean value. If true, means the cloudAppVehicleDataID data has been set to retrieve.
public java.lang.Boolean getCloudAppVehicleID()
Sets a boolean value for OEM Custom VehicleData.
public com.smartdevicelink.proxy.rpc.GetVehicleData setOEMCustomVehicleData(String vehicleDataName,Boolean vehicleDataState)
Gets a boolean value for OEM Custom VehicleData.
public java.lang.Boolean getOEMCustomVehicleData(String vehicleDataName)
Sets the windowStatus.
public com.smartdevicelink.proxy.rpc.GetVehicleData setWindowStatus(Boolean windowStatus)
Gets the windowStatus.
public java.lang.Boolean getWindowStatus()
Sets the handsOffSteering.
public com.smartdevicelink.proxy.rpc.GetVehicleData setHandsOffSteering(Boolean handsOffSteering)
Gets the handsOffSteering.
public java.lang.Boolean getHandsOffSteering()
Sets the gearStatus.
public com.smartdevicelink.proxy.rpc.GetVehicleData setGearStatus(Boolean gearStatus)
Gets the gearStatus.
public java.lang.Boolean getGearStatus()
Sets the stabilityControlsStatus.
public com.smartdevicelink.proxy.rpc.GetVehicleData setStabilityControlsStatus(Boolean stabilityControlsStatus)
Gets the stabilityControlsStatus.
public java.lang.Boolean getStabilityControlsStatus()
Sets the climateData.
public com.smartdevicelink.proxy.rpc.GetVehicleData setClimateData(Boolean climateData)
Gets the climateData.
public java.lang.Boolean getClimateData()
Sets the seatOccupancy.
public com.smartdevicelink.proxy.rpc.GetVehicleData setSeatOccupancy(Boolean seatOccupancy)
Gets the seatOccupancy.
public java.lang.Boolean getSeatOccupancy()
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCRequest | getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener |
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 |