public class SingleTireStatus extends RPCStruct
Parameter List
| Name | Type | Description | SmartDeviceLink Ver. Available |
|---|---|---|---|
| status | ComponentVolumeStatus | Describes the volume status of a single tire See ComponentVolumeStatus | SmartDeviceLink 2.0 |
| tpms | TPMS | The status of TPMS according to the particular tire. See TPMS | SmartDeviceLink 5.0 |
| pressure | Float | The pressure value of the particular tire in kilo pascal. | SmartDeviceLink 5.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_PRESSURE |
static String |
KEY_STATUS |
static String |
KEY_TPMS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
SingleTireStatus()
Constructs a newly allocated SingleTireStatus object
|
SingleTireStatus(ComponentVolumeStatus status)
Constructs a newly allocated SingleTireStatus object
|
SingleTireStatus(Hashtable<String,Object> hash)
Constructs a newly allocated SingleTireStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getPressure() |
ComponentVolumeStatus |
getStatus()
get the volume status of a single tire
|
TPMS |
getTPMS()
Get the status of TPMS according to the particular tire.
|
SingleTireStatus |
setPressure(Float pressure) |
SingleTireStatus |
setStatus(ComponentVolumeStatus status)
set the volume status of a single tire
|
SingleTireStatus |
setTPMS(TPMS tpms)
Set the status of TPMS according to the particular tire.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_STATUS
public static final String KEY_TPMS
public static final String KEY_PRESSURE
public SingleTireStatus()
public SingleTireStatus(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic SingleTireStatus(@NonNull
ComponentVolumeStatus status)
status - Describes the volume status of a single tirepublic SingleTireStatus setStatus(@NonNull ComponentVolumeStatus status)
status - the volume status of a single tirepublic ComponentVolumeStatus getStatus()
public SingleTireStatus setTPMS(@NonNull TPMS tpms)
tpms - The status of TPMSpublic TPMS getTPMS()
public SingleTireStatus setPressure(@NonNull Float pressure)
pressure - The pressure value of the particular tire in kilo pascal.public Float getPressure()