public class GetInteriorVehicleDataResponse extends RPCResponse
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_IS_SUBSCRIBED |
static String |
KEY_MODULE_DATA |
KEY_INFO, KEY_RESULT_CODE, KEY_SUCCESSfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GetInteriorVehicleDataResponse()
Constructs a new GetInteriorVehicleDataResponse object
|
GetInteriorVehicleDataResponse(Hashtable<String,Object> hash)
Constructs a new GetInteriorVehicleDataResponse object indicated by the
Hashtable parameter
|
GetInteriorVehicleDataResponse(Result resultCode,
Boolean success)
Constructs a new GetInteriorVehicleDataResponse object
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getIsSubscribed()
Gets isSubscribed parameter
|
ModuleData |
getModuleData()
Gets the moduleData
|
GetInteriorVehicleDataResponse |
setIsSubscribed(Boolean isSubscribed)
Sets isSubscribed parameter
|
GetInteriorVehicleDataResponse |
setModuleData(ModuleData moduleData)
Sets the moduleData
|
getCorrelationID, getInfo, getResultCode, getSuccess, setCorrelationID, setInfo, setResultCode, setSuccessgetBoolean, 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_DATA
public static final String KEY_IS_SUBSCRIBED
public GetInteriorVehicleDataResponse()
public GetInteriorVehicleDataResponse(Hashtable<String,Object> hash)
Constructs a new GetInteriorVehicleDataResponse object indicated by the Hashtable parameter
hash - The Hashtable to usepublic GetInteriorVehicleDataResponse(@NonNull
Result resultCode,
@NonNull
Boolean success)
resultCode - whether the request is successfully processedsuccess - whether the request is successfully processedpublic ModuleData getModuleData()
public GetInteriorVehicleDataResponse setModuleData(ModuleData moduleData)
moduleData - specific data for the module that was requestedpublic GetInteriorVehicleDataResponse setIsSubscribed(Boolean isSubscribed)
isSubscribed - It is a conditional-mandatory parameter: must be returned in case "subscribe" parameter was present in the related request.
If "true" - the "moduleType" from request is successfully subscribed and the head unit will send onInteriorVehicleData notifications for the moduleType.
If "false" - the "moduleType" from request is either unsubscribed or failed to subscribe.public Boolean getIsSubscribed()