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
GetVehicleDataResponse

GetVehicleDataResponse Class Reference

Constructors

Instance Methods

Constructors

new GetVehicleDataResponse(parameters)

Initializes an instance of GetVehicleDataResponse.

Instance Methods

getVehicleDataResponse.getAccPedalPosition() ⇒ Number

Get the AccPedalPosition

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_ACC_PEDAL_POSITION value

getVehicleDataResponse.getAirbagStatus() ⇒ AirbagStatus

Get the AirbagStatus

Kind: Instance method of GetVehicleDataResponse
Returns: AirbagStatus - the KEY_AIRBAG_STATUS value

getVehicleDataResponse.getBeltStatus() ⇒ BeltStatus

Get the BeltStatus

Kind: Instance method of GetVehicleDataResponse
Returns: BeltStatus - the KEY_BELT_STATUS value

getVehicleDataResponse.getBodyInformation() ⇒ BodyInformation

Get the BodyInformation

Kind: Instance method of GetVehicleDataResponse
Returns: BodyInformation - the KEY_BODY_INFORMATION value

getVehicleDataResponse.getClimateData() ⇒ ClimateData

Get the ClimateData

Kind: Instance method of GetVehicleDataResponse
Returns: ClimateData - the KEY_CLIMATE_DATA value

getVehicleDataResponse.getCloudAppVehicleID() ⇒ String

Get the CloudAppVehicleID

Kind: Instance method of GetVehicleDataResponse
Returns: String - the KEY_CLOUD_APP_VEHICLE_ID value

getVehicleDataResponse.getClusterModeStatus() ⇒ ClusterModeStatus

Get the ClusterModeStatus

Kind: Instance method of GetVehicleDataResponse
Returns: ClusterModeStatus - the KEY_CLUSTER_MODE_STATUS value

getVehicleDataResponse.getDeviceStatus() ⇒ DeviceStatus

Get the DeviceStatus

Kind: Instance method of GetVehicleDataResponse
Returns: DeviceStatus - the KEY_DEVICE_STATUS value

getVehicleDataResponse.getDriverBraking() ⇒ VehicleDataEventStatus

Get the DriverBraking

Kind: Instance method of GetVehicleDataResponse
Returns: VehicleDataEventStatus - the KEY_DRIVER_BRAKING value

getVehicleDataResponse.getECallInfo() ⇒ ECallInfo

Get the ECallInfo

Kind: Instance method of GetVehicleDataResponse
Returns: ECallInfo - the KEY_E_CALL_INFO value

getVehicleDataResponse.getElectronicParkBrakeStatus() ⇒ ElectronicParkBrakeStatus

Get the ElectronicParkBrakeStatus

Kind: Instance method of GetVehicleDataResponse
Returns: ElectronicParkBrakeStatus - the KEY_ELECTRONIC_PARK_BRAKE_STATUS value

getVehicleDataResponse.getEmergencyEvent() ⇒ EmergencyEvent

Get the EmergencyEvent

Kind: Instance method of GetVehicleDataResponse
Returns: EmergencyEvent - the KEY_EMERGENCY_EVENT value

getVehicleDataResponse.getEngineOilLife() ⇒ Number

Get the EngineOilLife

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_ENGINE_OIL_LIFE value

getVehicleDataResponse.getEngineTorque() ⇒ Number

Get the EngineTorque

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_ENGINE_TORQUE value

getVehicleDataResponse.getExternalTemperature() ⇒ Number

Get the ExternalTemperature

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_EXTERNAL_TEMPERATURE value

getVehicleDataResponse.getFuelLevel() ⇒ Number

Get the FuelLevel

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_FUEL_LEVEL value

getVehicleDataResponse.getFuelLevel_State() ⇒ ComponentVolumeStatus

Get the FuelLevel_State

Kind: Instance method of GetVehicleDataResponse
Returns: ComponentVolumeStatus - the KEY_FUEL_LEVEL_STATE value

getVehicleDataResponse.getFuelRange() ⇒ Array.<FuelRange>

Get the FuelRange

Kind: Instance method of GetVehicleDataResponse
Returns: Array.<FuelRange> - the KEY_FUEL_RANGE value

getVehicleDataResponse.getGearStatus() ⇒ GearStatus

Get the GearStatus

Kind: Instance method of GetVehicleDataResponse
Returns: GearStatus - the KEY_GEAR_STATUS value

getVehicleDataResponse.getGps() ⇒ GPSData

Get the Gps

Kind: Instance method of GetVehicleDataResponse
Returns: GPSData - the KEY_GPS value

getVehicleDataResponse.getHandsOffSteering() ⇒ Boolean

Get the HandsOffSteering

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

getVehicleDataResponse.getHeadLampStatus() ⇒ HeadLampStatus

Get the HeadLampStatus

Kind: Instance method of GetVehicleDataResponse
Returns: HeadLampStatus - the KEY_HEAD_LAMP_STATUS value

getVehicleDataResponse.getInstantFuelConsumption() ⇒ Number

Get the InstantFuelConsumption

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_INSTANT_FUEL_CONSUMPTION value

getVehicleDataResponse.getMyKey() ⇒ MyKey

Get the MyKey

Kind: Instance method of GetVehicleDataResponse
Returns: MyKey - the KEY_MY_KEY value

getVehicleDataResponse.getOEMCustomVehicleData(vehicleDataName) ⇒ Object

Gets a VehicleData value for the vehicle data item.

Kind: Instance method of GetVehicleDataResponse
Returns: Object - The value associated with the custom vehicle data.

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

getVehicleDataResponse.getOdometer() ⇒ Number

Get the Odometer

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_ODOMETER value

getVehicleDataResponse.getPrndl() ⇒ PRNDL

Get the Prndl

Kind: Instance method of GetVehicleDataResponse
Returns: PRNDL - the KEY_PRNDL value

getVehicleDataResponse.getRpm() ⇒ Number

Get the Rpm

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_RPM value

getVehicleDataResponse.getSeatOccupancy() ⇒ SeatOccupancy

Get the SeatOccupancy

Kind: Instance method of GetVehicleDataResponse
Returns: SeatOccupancy - the KEY_SEAT_OCCUPANCY value

getVehicleDataResponse.getSpeed() ⇒ Number

Get the Speed

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_SPEED value

getVehicleDataResponse.getStabilityControlsStatus() ⇒ StabilityControlsStatus

Get the StabilityControlsStatus

Kind: Instance method of GetVehicleDataResponse
Returns: StabilityControlsStatus - the KEY_STABILITY_CONTROLS_STATUS value

getVehicleDataResponse.getSteeringWheelAngle() ⇒ Number

Get the SteeringWheelAngle

Kind: Instance method of GetVehicleDataResponse
Returns: Number - the KEY_STEERING_WHEEL_ANGLE value

getVehicleDataResponse.getTirePressure() ⇒ TireStatus

Get the TirePressure

Kind: Instance method of GetVehicleDataResponse
Returns: TireStatus - the KEY_TIRE_PRESSURE value

getVehicleDataResponse.getTurnSignal() ⇒ TurnSignal

Get the TurnSignal

Kind: Instance method of GetVehicleDataResponse
Returns: TurnSignal - the KEY_TURN_SIGNAL value

getVehicleDataResponse.getVin() ⇒ String

Get the Vin

Kind: Instance method of GetVehicleDataResponse
Returns: String - the KEY_VIN value

getVehicleDataResponse.getWindowStatus() ⇒ Array.<WindowStatus>

Get the WindowStatus

Kind: Instance method of GetVehicleDataResponse
Returns: Array.<WindowStatus> - the KEY_WINDOW_STATUS value

getVehicleDataResponse.getWiperStatus() ⇒ WiperStatus

Get the WiperStatus

Kind: Instance method of GetVehicleDataResponse
Returns: WiperStatus - the KEY_WIPER_STATUS value

getVehicleDataResponse.setAccPedalPosition(position) ⇒ GetVehicleDataResponse

Set the AccPedalPosition

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

ParamTypeDescription
position Number Accelerator pedal position (percentage depressed) - The desired AccPedalPosition. {'num_min_value': 0.0, 'num_max_value': 100.0}

getVehicleDataResponse.setAirbagStatus(status) ⇒ GetVehicleDataResponse

Set the AirbagStatus

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

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

getVehicleDataResponse.setBeltStatus(status) ⇒ GetVehicleDataResponse

Set the BeltStatus

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

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

getVehicleDataResponse.setBodyInformation(information) ⇒ GetVehicleDataResponse

Set the BodyInformation

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

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

getVehicleDataResponse.setClimateData(data) ⇒ GetVehicleDataResponse

Set the ClimateData

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

ParamTypeDescription
data ClimateData See ClimateData - The desired ClimateData.

getVehicleDataResponse.setCloudAppVehicleID(id) ⇒ GetVehicleDataResponse

Set the CloudAppVehicleID

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

ParamTypeDescription
id String Parameter used by cloud apps to identify a head unit - The desired CloudAppVehicleID. {'string_min_length': 1}

getVehicleDataResponse.setClusterModeStatus(status) ⇒ GetVehicleDataResponse

Set the ClusterModeStatus

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

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

getVehicleDataResponse.setDeviceStatus(status) ⇒ GetVehicleDataResponse

Set the DeviceStatus

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

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

getVehicleDataResponse.setDriverBraking(braking) ⇒ GetVehicleDataResponse

Set the DriverBraking

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

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

getVehicleDataResponse.setECallInfo(info) ⇒ GetVehicleDataResponse

Set the ECallInfo

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

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

getVehicleDataResponse.setElectronicParkBrakeStatus(status) ⇒ GetVehicleDataResponse

Set the ElectronicParkBrakeStatus

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

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

getVehicleDataResponse.setEmergencyEvent(event) ⇒ GetVehicleDataResponse

Set the EmergencyEvent

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

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

getVehicleDataResponse.setEngineOilLife(life) ⇒ GetVehicleDataResponse

Set the EngineOilLife

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

ParamTypeDescription
life Number The estimated percentage of remaining oil life of the engine. - The desired EngineOilLife. {'num_min_value': 0.0, 'num_max_value': 100.0}

getVehicleDataResponse.setEngineTorque(torque) ⇒ GetVehicleDataResponse

Set the EngineTorque

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

ParamTypeDescription
torque Number Torque value for engine (in Nm) on non-diesel variants - The desired EngineTorque. {'num_min_value': -1000.0, 'num_max_value': 2000.0}

getVehicleDataResponse.setExternalTemperature(temperature) ⇒ GetVehicleDataResponse

Set the ExternalTemperature

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

ParamTypeDescription
temperature Number The external temperature in degrees celsius. This parameter is deprecated starting RPC Spec 7.1, please see climateData. - The desired ExternalTemperature. {'num_min_value': -40.0, 'num_max_value': 100.0}

getVehicleDataResponse.setFuelLevel(level) ⇒ GetVehicleDataResponse

Set the FuelLevel

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

ParamTypeDescription
level Number The fuel level in the tank (percentage). This parameter is deprecated starting RPC Spec 7.0, please see fuelRange. - The desired FuelLevel. {'num_min_value': -6.0, 'num_max_value': 106.0}

getVehicleDataResponse.setFuelLevel_State(level_state) ⇒ GetVehicleDataResponse

Set the FuelLevel_State

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

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

getVehicleDataResponse.setFuelRange(range) ⇒ GetVehicleDataResponse

Set the FuelRange

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

ParamTypeDescription
range Array.<FuelRange> 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. {'array_min_size': 0, 'array_max_size': 100}

getVehicleDataResponse.setGearStatus(status) ⇒ GetVehicleDataResponse

Set the GearStatus

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

ParamTypeDescription
status GearStatus See GearStatus - The desired GearStatus.

getVehicleDataResponse.setGps(gps) ⇒ GetVehicleDataResponse

Set the Gps

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

ParamTypeDescription
gps GPSData See GPSData - The desired Gps.

getVehicleDataResponse.setHandsOffSteering(steering) ⇒ GetVehicleDataResponse

Set the HandsOffSteering

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

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

getVehicleDataResponse.setHeadLampStatus(status) ⇒ GetVehicleDataResponse

Set the HeadLampStatus

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

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

getVehicleDataResponse.setInstantFuelConsumption(consumption) ⇒ GetVehicleDataResponse

Set the InstantFuelConsumption

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

ParamTypeDescription
consumption Number The instantaneous fuel consumption in microlitres - The desired InstantFuelConsumption. {'num_min_value': 0.0, 'num_max_value': 25575.0}

getVehicleDataResponse.setMyKey(key) ⇒ GetVehicleDataResponse

Set the MyKey

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

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

getVehicleDataResponse.setOdometer(odometer) ⇒ GetVehicleDataResponse

Set the Odometer

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

ParamTypeDescription
odometer Number Odometer in km - The desired Odometer. {'num_min_value': 0, 'num_max_value': 17000000}

getVehicleDataResponse.setOemCustomVehicleData(vehicleDataName, vehicleDataState) ⇒ GetVehicleDataResponse

Sets a value for OEM Custom VehicleData.

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

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

getVehicleDataResponse.setPrndl(prndl) ⇒ GetVehicleDataResponse

Set the Prndl

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

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

getVehicleDataResponse.setRpm(rpm) ⇒ GetVehicleDataResponse

Set the Rpm

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

ParamTypeDescription
rpm Number The number of revolutions per minute of the engine - The desired Rpm. {'num_min_value': 0, 'num_max_value': 20000}

getVehicleDataResponse.setSeatOccupancy(occupancy) ⇒ GetVehicleDataResponse

Set the SeatOccupancy

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

ParamTypeDescription
occupancy SeatOccupancy See SeatOccupancy - The desired SeatOccupancy.

getVehicleDataResponse.setSpeed(speed) ⇒ GetVehicleDataResponse

Set the Speed

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

ParamTypeDescription
speed Number The vehicle speed in kilometers per hour - The desired Speed. {'num_min_value': 0.0, 'num_max_value': 700.0}

getVehicleDataResponse.setStabilityControlsStatus(status) ⇒ GetVehicleDataResponse

Set the StabilityControlsStatus

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

ParamTypeDescription
status StabilityControlsStatus See StabilityControlsStatus - The desired StabilityControlsStatus.

getVehicleDataResponse.setSteeringWheelAngle(angle) ⇒ GetVehicleDataResponse

Set the SteeringWheelAngle

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

ParamTypeDescription
angle Number Current angle of the steering wheel (in deg) - The desired SteeringWheelAngle. {'num_min_value': -2000.0, 'num_max_value': 2000.0}

getVehicleDataResponse.setTirePressure(pressure) ⇒ GetVehicleDataResponse

Set the TirePressure

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

ParamTypeDescription
pressure TireStatus See TireStatus - The desired TirePressure.

getVehicleDataResponse.setTurnSignal(signal) ⇒ GetVehicleDataResponse

Set the TurnSignal

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

ParamTypeDescription
signal TurnSignal See TurnSignal - The desired TurnSignal.

getVehicleDataResponse.setVin(vin) ⇒ GetVehicleDataResponse

Set the Vin

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

ParamTypeDescription
vin String Vehicle identification number - The desired Vin. {'string_min_length': 1, 'string_max_length': 17}

getVehicleDataResponse.setWindowStatus(status) ⇒ GetVehicleDataResponse

Set the WindowStatus

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

ParamTypeDescription
status Array.<WindowStatus> See WindowStatus - The desired WindowStatus. {'array_min_size': 0, 'array_max_size': 100}

getVehicleDataResponse.setWiperStatus(status) ⇒ GetVehicleDataResponse

Set the WiperStatus

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

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