public class GenericResponse extends RPCResponse
Parameter List
| Param Name | Type | Description | Req. | Notes | Version Available |
|---|---|---|---|---|---|
| success | Boolean | true, if successful; false, if failed | SmartDeviceLink 1.0 | ||
| resultCode | Result | Defines the possible result codes returned by SDL to the application in a Response to a requested operation | SmartDeviceLink 1.0 | ||
| info | String | Provides additional human readable info regarding the result. | N | maxlength=1000 | SmartDeviceLink 1.0 |
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 |
|---|
GenericResponse() |
GenericResponse(Boolean success,
Result resultCode)
Constructs a new GenericResponse object
|
GenericResponse(Hashtable<String,Object> hash) |
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, setValue