public class UnsubscribeVehicleData extends RPCRequest
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 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 |
|
| seatOccupancy | Boolean | See SeatOccupancy | N | , SmartDeviceLink 7.1.0 |
Response
Non-default Result Codes:
SUCCESS
WARNINGS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
IGNORED
DISALLOWED
, SmartDeviceLink 2.0SubscribeVehicleData,
GetVehicleDataonResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
UnsubscribeVehicleData()
Constructs a new UnsubscribeVehicleData object
|
UnsubscribeVehicleData(Hashtable<String,Object> hash)
Constructs a new UnsubscribeVehicleData object indicated by the Hashtable
parameter
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_SPEED
public static final String KEY_RPM
@Deprecated public static final String KEY_EXTERNAL_TEMPERATURE
public static final String KEY_PRNDL
public static final String KEY_TIRE_PRESSURE
public static final String KEY_ENGINE_TORQUE
public static final String KEY_ENGINE_OIL_LIFE
public static final String KEY_ODOMETER
public static final String KEY_GPS
public static final String KEY_INSTANT_FUEL_CONSUMPTION
public static final String KEY_BELT_STATUS
public static final String KEY_BODY_INFORMATION
public static final String KEY_DEVICE_STATUS
public static final String KEY_DRIVER_BRAKING
public static final String KEY_WIPER_STATUS
public static final String KEY_HEAD_LAMP_STATUS
public static final String KEY_ACC_PEDAL_POSITION
public static final String KEY_STEERING_WHEEL_ANGLE
public static final String KEY_E_CALL_INFO
public static final String KEY_AIRBAG_STATUS
public static final String KEY_EMERGENCY_EVENT
public static final String KEY_CLUSTER_MODE_STATUS
public static final String KEY_MY_KEY
public static final String KEY_FUEL_RANGE
public static final String KEY_TURN_SIGNAL
public static final String KEY_ELECTRONIC_PARK_BRAKE_STATUS
public static final String KEY_CLOUD_APP_VEHICLE_ID
public static final String KEY_HANDS_OFF_STEERING
public static final String KEY_GEAR_STATUS
public static final String KEY_WINDOW_STATUS
@Deprecated public static final String KEY_FUEL_LEVEL
@Deprecated public static final String KEY_FUEL_LEVEL_STATE
public static final String KEY_STABILITY_CONTROLS_STATUS
public static final String KEY_SEAT_OCCUPANCY
public static final String KEY_CLIMATE_DATA
public UnsubscribeVehicleData()
public UnsubscribeVehicleData setGps(Boolean gps)
gps - a boolean valuepublic Boolean getGps()
public UnsubscribeVehicleData setSpeed(Boolean speed)
speed - a boolean valuepublic Boolean getSpeed()
public UnsubscribeVehicleData setRpm(Boolean rpm)
rpm - a boolean valuepublic Boolean getRpm()
@Deprecated public UnsubscribeVehicleData setFuelLevel(Boolean fuelLevel)
fuelLevel - The fuel level in the tank (percentage). This parameter is deprecated starting RPC Spec
7.0, please see fuelRange.@Deprecated public Boolean getFuelLevel()
@Deprecated public UnsubscribeVehicleData setFuelLevelState(Boolean fuelLevelState)
fuelLevelState - The fuel type, estimated range in KM, fuel level/capacity and fuel level state for the
vehicle. See struct FuelRange for details.@Deprecated public Boolean getFuelLevelState()
public UnsubscribeVehicleData setInstantFuelConsumption(Boolean instantFuelConsumption)
instantFuelConsumption - a boolean valuepublic Boolean getInstantFuelConsumption()
@Deprecated public UnsubscribeVehicleData setExternalTemperature(Boolean externalTemperature)
externalTemperature - The external temperature in degrees celsius. This parameter is deprecated starting RPC
Spec 7.1.0, please see climateData.@Deprecated public Boolean getExternalTemperature()
@Deprecated public UnsubscribeVehicleData setPrndl(Boolean prndl)
prndl - See PRNDL. This parameter since SmartDeviceLink 7.0.0 is deprecated and it is now covered in `gearStatus`@Deprecated public Boolean getPrndl()
public UnsubscribeVehicleData setTirePressure(Boolean tirePressure)
tirePressure - a boolean valuepublic Boolean getTirePressure()
public UnsubscribeVehicleData setOdometer(Boolean odometer)
odometer - a boolean valuepublic Boolean getOdometer()
public UnsubscribeVehicleData setBeltStatus(Boolean beltStatus)
beltStatus - a boolean valuepublic Boolean getBeltStatus()
public UnsubscribeVehicleData setBodyInformation(Boolean bodyInformation)
bodyInformation - a boolean valuepublic Boolean getBodyInformation()
public UnsubscribeVehicleData setDeviceStatus(Boolean deviceStatus)
deviceStatus - a boolean valuepublic Boolean getDeviceStatus()
public UnsubscribeVehicleData setDriverBraking(Boolean driverBraking)
driverBraking - a boolean valuepublic Boolean getDriverBraking()
public UnsubscribeVehicleData setWiperStatus(Boolean wiperStatus)
wiperStatus - a boolean valuepublic Boolean getWiperStatus()
public UnsubscribeVehicleData setHeadLampStatus(Boolean headLampStatus)
headLampStatus - a boolean valuepublic Boolean getHeadLampStatus()
public UnsubscribeVehicleData setEngineTorque(Boolean engineTorque)
engineTorque - a boolean valuepublic Boolean getEngineTorque()
public UnsubscribeVehicleData setEngineOilLife(Boolean engineOilLife)
engineOilLife - a boolean valuepublic Boolean getEngineOilLife()
public UnsubscribeVehicleData setAccPedalPosition(Boolean accPedalPosition)
accPedalPosition - a boolean valuepublic Boolean getAccPedalPosition()
public UnsubscribeVehicleData setSteeringWheelAngle(Boolean steeringWheelAngle)
public Boolean getSteeringWheelAngle()
public UnsubscribeVehicleData setECallInfo(Boolean eCallInfo)
public Boolean getECallInfo()
public UnsubscribeVehicleData setAirbagStatus(Boolean airbagStatus)
public Boolean getAirbagStatus()
public UnsubscribeVehicleData setEmergencyEvent(Boolean emergencyEvent)
public Boolean getEmergencyEvent()
public UnsubscribeVehicleData setClusterModeStatus(Boolean clusterModeStatus)
public Boolean getClusterModeStatus()
public UnsubscribeVehicleData setMyKey(Boolean myKey)
public Boolean getMyKey()
public UnsubscribeVehicleData setFuelRange(Boolean fuelRange)
fuelRange - a boolean valuepublic Boolean getFuelRange()
public UnsubscribeVehicleData setTurnSignal(Boolean turnSignal)
turnSignal - a boolean valuepublic Boolean getTurnSignal()
public UnsubscribeVehicleData setElectronicParkBrakeStatus(Boolean electronicParkBrakeStatus)
electronicParkBrakeStatus - a boolean valuepublic Boolean getElectronicParkBrakeStatus()
public UnsubscribeVehicleData setCloudAppVehicleID(boolean cloudAppVehicleID)
cloudAppVehicleID - a boolean value.public Boolean getCloudAppVehicleID()
public UnsubscribeVehicleData setOEMCustomVehicleData(String vehicleDataName, Boolean vehicleDataState)
vehicleDataName - a String valuevehicleDataState - a boolean valuepublic Boolean getOEMCustomVehicleData(String vehicleDataName)
public UnsubscribeVehicleData setGearStatus(Boolean gearStatus)
gearStatus - See GearStatuspublic Boolean getGearStatus()
public UnsubscribeVehicleData setHandsOffSteering(Boolean handsOffSteering)
handsOffSteering - To indicate whether driver hands are off the steering wheelpublic Boolean getHandsOffSteering()
public UnsubscribeVehicleData setWindowStatus(Boolean windowStatus)
windowStatus - See WindowStatuspublic Boolean getWindowStatus()
public UnsubscribeVehicleData setStabilityControlsStatus(Boolean stabilityControlsStatus)
stabilityControlsStatus - See StabilityControlsStatuspublic Boolean getStabilityControlsStatus()
public UnsubscribeVehicleData setClimateData(Boolean climateData)
climateData - See ClimateDatapublic Boolean getClimateData()
public UnsubscribeVehicleData setSeatOccupancy(Boolean seatOccupancy)
seatOccupancy - See SeatOccupancypublic Boolean getSeatOccupancy()