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
JavaSE Documentation
GearStatus

Class GearStatus

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Parameter List

Param Name Type Description Required Version Available
userSelectedGear PRNDL Gear position selected by the user i.e. Park, Drive, Reverse N
actualGear PRNDL Actual Gear in use by the transmission N
transmissionType TransmissionType Tells the transmission type N

Fields

KEY_USER_SELECTED_GEAR

public static final java.lang.String KEY_USER_SELECTED_GEAR
Constant Value
"userSelectedGear"

KEY_ACTUAL_GEAR

public static final java.lang.String KEY_ACTUAL_GEAR
Constant Value
"actualGear"

KEY_TRANSMISSION_TYPE

public static final java.lang.String KEY_TRANSMISSION_TYPE
Constant Value
"transmissionType"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

GearStatus()

Constructs a newly allocated GearStatus object

public GearStatus()

GearStatus( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new GearStatus object indicated by the Hashtable parameter

public GearStatus(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

setUserSelectedGear( PRNDL selectedGear )

Sets the userSelectedGear.

public com.smartdevicelink.proxy.rpc.GearStatus setUserSelectedGear(PRNDL selectedGear)

Method Parameters

selectedGear
Gear position selected by the user i.e. Park, Drive, Reverse

getUserSelectedGear()

Gets the userSelectedGear.

public com.smartdevicelink.proxy.rpc.enums.PRNDL getUserSelectedGear()

setActualGear( PRNDL actualGear )

Sets the actualGear.

public com.smartdevicelink.proxy.rpc.GearStatus setActualGear(PRNDL actualGear)

Method Parameters

actualGear
Actual Gear in use by the transmission

getActualGear()

Gets the actualGear.

public com.smartdevicelink.proxy.rpc.enums.PRNDL getActualGear()

setTransmissionType( TransmissionType transmissionType )

Sets the transmissionType.

public com.smartdevicelink.proxy.rpc.GearStatus setTransmissionType(TransmissionType transmissionType)

Method Parameters

transmissionType
Tells the transmission type

getTransmissionType()

Gets the transmissionType.

public com.smartdevicelink.proxy.rpc.enums.TransmissionType getTransmissionType()

Inherited Methods

From Class Methods
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
View on GitHub.com
Previous Section Next Section