public class GetInteriorVehicleData extends RPCRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_MODULE_ID |
static String |
KEY_MODULE_TYPE |
static String |
KEY_SUBSCRIBE |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GetInteriorVehicleData()
Constructs a new GetInteriorVehicleData object
|
GetInteriorVehicleData(Hashtable<String,Object> hash)
Constructs a new GetInteriorVehicleData object indicated by the
Hashtable parameter
|
GetInteriorVehicleData(ModuleType moduleType)
Constructs a new GetInteriorVehicleData object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleId()
Gets the Module ID of this class
|
ModuleType |
getModuleType()
Gets the ModuleType
|
Boolean |
getSubscribe()
Gets subscribe parameter
|
GetInteriorVehicleData |
setModuleId(String id)
Sets the Module ID for this class
|
GetInteriorVehicleData |
setModuleType(ModuleType moduleType)
Sets a ModuleType
|
GetInteriorVehicleData |
setSubscribe(Boolean subscribe)
Sets subscribe parameter
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, 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_MODULE_TYPE
public static final String KEY_SUBSCRIBE
public static final String KEY_MODULE_ID
public GetInteriorVehicleData()
public GetInteriorVehicleData(Hashtable<String,Object> hash)
Constructs a new GetInteriorVehicleData object indicated by the Hashtable parameter
hash - The Hashtable to usepublic GetInteriorVehicleData(@NonNull
ModuleType moduleType)
public ModuleType getModuleType()
public GetInteriorVehicleData setModuleType(@NonNull ModuleType moduleType)
moduleType - The type of a RC module to retrieve module data from the vehicle.
In the future, this should be the Identification of a module.public GetInteriorVehicleData setSubscribe(Boolean subscribe)
subscribe - If subscribe is true, the head unit will register onInteriorVehicleData notifications for the requested moduleType.
If subscribe is false, the head unit will unregister onInteriorVehicleData notifications for the requested moduleType.public Boolean getSubscribe()
public GetInteriorVehicleData setModuleId(String id)
id - the id to be setpublic String getModuleId()