public class SetAppIcon extends RPCRequest
Parameter List
| Param Name | Type | Description | Req. | Notes | Version Available |
|---|---|---|---|---|---|
| SDLFileName | String | File reference name. | Y | Maxlength=500 | SmartDeviceLink 2.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
Image| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_SDL_FILE_NAME |
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 |
|---|
SetAppIcon()
Constructs a new SetAppIcon object
|
SetAppIcon(Hashtable<String,Object> hash)
Constructs a new SetAppIcon object indicated by the Hashtable parameter
|
SetAppIcon(String sdlFileName)
Constructs a new SetAppIcon object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSdlFileName()
Gets a file reference name
|
SetAppIcon |
setSdlFileName(String sdlFileName)
Sets a file reference name
|
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_SDL_FILE_NAME
public SetAppIcon()
public SetAppIcon(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic SetAppIcon(@NonNull
String sdlFileName)
sdlFileName - a String value representing a file reference name public SetAppIcon setSdlFileName(@NonNull String sdlFileName)
sdlFileName - a String value representing a file reference name
Notes: Maxlength=500, however the max file name length may vary based on remote filesystem limitationspublic String getSdlFileName()