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

GearStatus Class Reference

Constructors

Instance Methods

Constructors

new GearStatus(parameters)

Initializes an instance of GearStatus.

Instance Methods

gearStatus.getActualGear() ⇒ PRNDL

Get the ActualGear

Kind: Instance method of GearStatus
Returns: PRNDL - the KEY_ACTUAL_GEAR value

gearStatus.getTransmissionType() ⇒ TransmissionType

Get the TransmissionType

Kind: Instance method of GearStatus
Returns: TransmissionType - the KEY_TRANSMISSION_TYPE value

gearStatus.getUserSelectedGear() ⇒ PRNDL

Get the UserSelectedGear

Kind: Instance method of GearStatus
Returns: PRNDL - the KEY_USER_SELECTED_GEAR value

gearStatus.setActualGear(gear) ⇒ GearStatus

Set the ActualGear

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

ParamTypeDescription
gear PRNDL Actual Gear in use by the transmission - The desired ActualGear.

gearStatus.setTransmissionType(type) ⇒ GearStatus

Set the TransmissionType

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

ParamTypeDescription
type TransmissionType Tells the transmission type - The desired TransmissionType.

gearStatus.setUserSelectedGear(gear) ⇒ GearStatus

Set the UserSelectedGear

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

ParamTypeDescription
gear PRNDL Gear position selected by the user i.e. Park, Drive, Reverse - The desired UserSelectedGear.
View on GitHub.com