public class OnTBTClientState extends RPCNotification
Notifies the application of the current TBT client status on the module.
HMI Status Requirements:| Name | Type | Description | SmartDeviceLink Ver Available |
|---|---|---|---|
| state | TBTState | Current state of TBT client. | SmartDeviceLink 1.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_STATE |
function, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
OnTBTClientState()
Constructs a newly allocated OnTBTClientState object
|
OnTBTClientState(Hashtable<String,Object> hash)
Constructs a newly allocated OnTBTClientState object indicated by the Hashtable parameter
|
OnTBTClientState(TBTState state)
Constructs a newly allocated OnTBTClientState object
|
| Modifier and Type | Method and Description |
|---|---|
TBTState |
getState()
Called to get the current state of TBT client
|
OnTBTClientState |
setState(TBTState state)
Called to set the current state of TBT client
|
getBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_STATE
public OnTBTClientState()
public OnTBTClientState(Hashtable<String,Object> hash)
Constructs a newly allocated OnTBTClientState object indicated by the Hashtable parameter
hash - The Hashtable to usepublic OnTBTClientState(@NonNull
TBTState state)
state - current state of TBT clientpublic TBTState getState()
Called to get the current state of TBT client
public OnTBTClientState setState(TBTState state)
Called to set the current state of TBT client
state - current state of TBT client