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
JavaScript Suite Documentation
UnsubscribeVehicleData

UnsubscribeVehicleData Class Reference

Constructors

Instance Methods

Constructors

new UnsubscribeVehicleData(parameters)

Initializes an instance of UnsubscribeVehicleData.

Instance Methods

unsubscribeVehicleData.getAccPedalPosition() ⇒ Boolean

Get the AccPedalPosition

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_ACC_PEDAL_POSITION value

unsubscribeVehicleData.getAirbagStatus() ⇒ Boolean

Get the AirbagStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_AIRBAG_STATUS value

unsubscribeVehicleData.getBeltStatus() ⇒ Boolean

Get the BeltStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_BELT_STATUS value

unsubscribeVehicleData.getBodyInformation() ⇒ Boolean

Get the BodyInformation

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_BODY_INFORMATION value

unsubscribeVehicleData.getClimateData() ⇒ Boolean

Get the ClimateData

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_CLIMATE_DATA value

unsubscribeVehicleData.getCloudAppVehicleID() ⇒ Boolean

Get the CloudAppVehicleID

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_CLOUD_APP_VEHICLE_ID value

unsubscribeVehicleData.getClusterModeStatus() ⇒ Boolean

Get the ClusterModeStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_CLUSTER_MODE_STATUS value

unsubscribeVehicleData.getDeviceStatus() ⇒ Boolean

Get the DeviceStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_DEVICE_STATUS value

unsubscribeVehicleData.getDriverBraking() ⇒ Boolean

Get the DriverBraking

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_DRIVER_BRAKING value

unsubscribeVehicleData.getECallInfo() ⇒ Boolean

Get the ECallInfo

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_E_CALL_INFO value

unsubscribeVehicleData.getElectronicParkBrakeStatus() ⇒ Boolean

Get the ElectronicParkBrakeStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_ELECTRONIC_PARK_BRAKE_STATUS value

unsubscribeVehicleData.getEmergencyEvent() ⇒ Boolean

Get the EmergencyEvent

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_EMERGENCY_EVENT value

unsubscribeVehicleData.getEngineOilLife() ⇒ Boolean

Get the EngineOilLife

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_ENGINE_OIL_LIFE value

unsubscribeVehicleData.getEngineTorque() ⇒ Boolean

Get the EngineTorque

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_ENGINE_TORQUE value

unsubscribeVehicleData.getExternalTemperature() ⇒ Boolean

Get the ExternalTemperature

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_EXTERNAL_TEMPERATURE value

unsubscribeVehicleData.getFuelLevel() ⇒ Boolean

Get the FuelLevel

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_FUEL_LEVEL value

unsubscribeVehicleData.getFuelLevel_State() ⇒ Boolean

Get the FuelLevel_State

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_FUEL_LEVEL_STATE value

unsubscribeVehicleData.getFuelRange() ⇒ Boolean

Get the FuelRange

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_FUEL_RANGE value

unsubscribeVehicleData.getGearStatus() ⇒ Boolean

Get the GearStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_GEAR_STATUS value

unsubscribeVehicleData.getGps() ⇒ Boolean

Get the Gps

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_GPS value

unsubscribeVehicleData.getHandsOffSteering() ⇒ Boolean

Get the HandsOffSteering

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_HANDS_OFF_STEERING value

unsubscribeVehicleData.getHeadLampStatus() ⇒ Boolean

Get the HeadLampStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_HEAD_LAMP_STATUS value

unsubscribeVehicleData.getInstantFuelConsumption() ⇒ Boolean

Get the InstantFuelConsumption

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_INSTANT_FUEL_CONSUMPTION value

unsubscribeVehicleData.getMyKey() ⇒ Boolean

Get the MyKey

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_MY_KEY value

unsubscribeVehicleData.getOdometer() ⇒ Boolean

Get the Odometer

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_ODOMETER value

unsubscribeVehicleData.getOemCustomVehicleData(vehicleDataName) ⇒ [Boolean, null]

Gets a boolean value for OEM Custom VehicleData.

Kind: Instance method of UnsubscribeVehicleData
Returns: [Boolean, null] - Whether or not to unsubscribe from the data.

ParamTypeDescription
vehicleDataName String The key associated with the custom vehicle data.

unsubscribeVehicleData.getPrndl() ⇒ Boolean

Get the Prndl

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_PRNDL value

unsubscribeVehicleData.getRpm() ⇒ Boolean

Get the Rpm

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_RPM value

unsubscribeVehicleData.getSeatOccupancy() ⇒ Boolean

Get the SeatOccupancy

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_SEAT_OCCUPANCY value

unsubscribeVehicleData.getSpeed() ⇒ Boolean

Get the Speed

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_SPEED value

unsubscribeVehicleData.getStabilityControlsStatus() ⇒ Boolean

Get the StabilityControlsStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_STABILITY_CONTROLS_STATUS value

unsubscribeVehicleData.getSteeringWheelAngle() ⇒ Boolean

Get the SteeringWheelAngle

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_STEERING_WHEEL_ANGLE value

unsubscribeVehicleData.getTirePressure() ⇒ Boolean

Get the TirePressure

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_TIRE_PRESSURE value

unsubscribeVehicleData.getTurnSignal() ⇒ Boolean

Get the TurnSignal

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_TURN_SIGNAL value

unsubscribeVehicleData.getWindowStatus() ⇒ Boolean

Get the WindowStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_WINDOW_STATUS value

unsubscribeVehicleData.getWiperStatus() ⇒ Boolean

Get the WiperStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: Boolean - the KEY_WIPER_STATUS value

unsubscribeVehicleData.setAccPedalPosition(position) ⇒ UnsubscribeVehicleData

Set the AccPedalPosition

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
position Boolean Accelerator pedal position (percentage depressed) - The desired AccPedalPosition.

unsubscribeVehicleData.setAirbagStatus(status) ⇒ UnsubscribeVehicleData

Set the AirbagStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The status of the air bags - The desired AirbagStatus.

unsubscribeVehicleData.setBeltStatus(status) ⇒ UnsubscribeVehicleData

Set the BeltStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The status of the seat belts - The desired BeltStatus.

unsubscribeVehicleData.setBodyInformation(information) ⇒ UnsubscribeVehicleData

Set the BodyInformation

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
information Boolean The body information including power modes - The desired BodyInformation.

unsubscribeVehicleData.setClimateData(data) ⇒ UnsubscribeVehicleData

Set the ClimateData

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
data Boolean See ClimateData - The desired ClimateData.

unsubscribeVehicleData.setCloudAppVehicleID(id) ⇒ UnsubscribeVehicleData

Set the CloudAppVehicleID

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
id Boolean Parameter used by cloud apps to identify a head unit - The desired CloudAppVehicleID.

unsubscribeVehicleData.setClusterModeStatus(status) ⇒ UnsubscribeVehicleData

Set the ClusterModeStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The status modes of the cluster - The desired ClusterModeStatus.

unsubscribeVehicleData.setDeviceStatus(status) ⇒ UnsubscribeVehicleData

Set the DeviceStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The device status including signal and battery strength - The desired DeviceStatus.

unsubscribeVehicleData.setDriverBraking(braking) ⇒ UnsubscribeVehicleData

Set the DriverBraking

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
braking Boolean The status of the brake pedal - The desired DriverBraking.

unsubscribeVehicleData.setECallInfo(info) ⇒ UnsubscribeVehicleData

Set the ECallInfo

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
info Boolean Emergency Call notification and confirmation data - The desired ECallInfo.

unsubscribeVehicleData.setElectronicParkBrakeStatus(status) ⇒ UnsubscribeVehicleData

Set the ElectronicParkBrakeStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The status of the park brake as provided by Electric Park Brake (EPB) system. - The desired ElectronicParkBrakeStatus.

unsubscribeVehicleData.setEmergencyEvent(event) ⇒ UnsubscribeVehicleData

Set the EmergencyEvent

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
event Boolean Information related to an emergency event (and if it occurred) - The desired EmergencyEvent.

unsubscribeVehicleData.setEngineOilLife(life) ⇒ UnsubscribeVehicleData

Set the EngineOilLife

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
life Boolean The estimated percentage of remaining oil life of the engine. - The desired EngineOilLife.

unsubscribeVehicleData.setEngineTorque(torque) ⇒ UnsubscribeVehicleData

Set the EngineTorque

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
torque Boolean Torque value for engine (in Nm) on non-diesel variants - The desired EngineTorque.

unsubscribeVehicleData.setExternalTemperature(temperature) ⇒ UnsubscribeVehicleData

Set the ExternalTemperature

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
temperature Boolean The external temperature in degrees celsius. This parameter is deprecated starting RPC Spec 7.1, please see climateData. - The desired ExternalTemperature.

unsubscribeVehicleData.setFuelLevel(level) ⇒ UnsubscribeVehicleData

Set the FuelLevel

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
level Boolean The fuel level in the tank (percentage). This parameter is deprecated starting RPC Spec 7.0, please see fuelRange. - The desired FuelLevel.

unsubscribeVehicleData.setFuelLevel_State(level_state) ⇒ UnsubscribeVehicleData

Set the FuelLevel_State

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
level_state Boolean The fuel level state. This parameter is deprecated starting RPC Spec 7.0, please see fuelRange. - The desired FuelLevel_State.

unsubscribeVehicleData.setFuelRange(range) ⇒ UnsubscribeVehicleData

Set the FuelRange

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
range Boolean The fuel type, estimated range in KM, fuel level/capacity and fuel level state for the vehicle. See struct FuelRange for details. - The desired FuelRange.

unsubscribeVehicleData.setGearStatus(status) ⇒ UnsubscribeVehicleData

Set the GearStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean See GearStatus - The desired GearStatus.

unsubscribeVehicleData.setGps(gps) ⇒ UnsubscribeVehicleData

Set the Gps

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
gps Boolean See GPSData - The desired Gps.

unsubscribeVehicleData.setHandsOffSteering(steering) ⇒ UnsubscribeVehicleData

Set the HandsOffSteering

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
steering Boolean To indicate whether driver hands are off the steering wheel - The desired HandsOffSteering.

unsubscribeVehicleData.setHeadLampStatus(status) ⇒ UnsubscribeVehicleData

Set the HeadLampStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean Status of the head lamps - The desired HeadLampStatus.

unsubscribeVehicleData.setInstantFuelConsumption(consumption) ⇒ UnsubscribeVehicleData

Set the InstantFuelConsumption

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
consumption Boolean The instantaneous fuel consumption in microlitres - The desired InstantFuelConsumption.

unsubscribeVehicleData.setMyKey(key) ⇒ UnsubscribeVehicleData

Set the MyKey

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
key Boolean Information related to the MyKey feature - The desired MyKey.

unsubscribeVehicleData.setOdometer(odometer) ⇒ UnsubscribeVehicleData

Set the Odometer

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
odometer Boolean Odometer in km - The desired Odometer.

unsubscribeVehicleData.setOemCustomVehicleData(vehicleDataName, vehicleDataState) ⇒ UnsubscribeVehicleData

Sets a boolean value for OEM Custom VehicleData.

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance to support method chaining.

ParamTypeDescription
vehicleDataName String The key associated with the custom vehicle data.
vehicleDataState Boolean Whether or not to unsubscribe from the data.

unsubscribeVehicleData.setPrndl(prndl) ⇒ UnsubscribeVehicleData

Set the Prndl

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
prndl Boolean See PRNDL. This parameter is deprecated and it is now covered in `gearStatus` - The desired Prndl.

unsubscribeVehicleData.setRpm(rpm) ⇒ UnsubscribeVehicleData

Set the Rpm

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
rpm Boolean The number of revolutions per minute of the engine - The desired Rpm.

unsubscribeVehicleData.setSeatOccupancy(occupancy) ⇒ UnsubscribeVehicleData

Set the SeatOccupancy

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
occupancy Boolean See SeatOccupancy - The desired SeatOccupancy.

unsubscribeVehicleData.setSpeed(speed) ⇒ UnsubscribeVehicleData

Set the Speed

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
speed Boolean The vehicle speed in kilometers per hour - The desired Speed.

unsubscribeVehicleData.setStabilityControlsStatus(status) ⇒ UnsubscribeVehicleData

Set the StabilityControlsStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean See StabilityControlsStatus - The desired StabilityControlsStatus.

unsubscribeVehicleData.setSteeringWheelAngle(angle) ⇒ UnsubscribeVehicleData

Set the SteeringWheelAngle

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
angle Boolean Current angle of the steering wheel (in deg) - The desired SteeringWheelAngle.

unsubscribeVehicleData.setTirePressure(pressure) ⇒ UnsubscribeVehicleData

Set the TirePressure

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
pressure Boolean See TireStatus - The desired TirePressure.

unsubscribeVehicleData.setTurnSignal(signal) ⇒ UnsubscribeVehicleData

Set the TurnSignal

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
signal Boolean See TurnSignal - The desired TurnSignal.

unsubscribeVehicleData.setWindowStatus(status) ⇒ UnsubscribeVehicleData

Set the WindowStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean See WindowStatus - The desired WindowStatus.

unsubscribeVehicleData.setWiperStatus(status) ⇒ UnsubscribeVehicleData

Set the WiperStatus

Kind: Instance method of UnsubscribeVehicleData
Returns: UnsubscribeVehicleData - The class instance for method chaining.

ParamTypeDescription
status Boolean The status of the wipers - The desired WiperStatus.
View on GitHub.com
Previous Section Next Section