Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class SetAppIcon

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCRequest

Package
com.smartdevicelink.proxy.rpc

Overview

Used to set existing local file on SDL as the app's icon. Not supported on first generation SDL vehicles

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

Fields

KEY_SDL_FILE_NAME

public static final java.lang.String KEY_SDL_FILE_NAME
Constant Value
"syncFileName"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

SetAppIcon()

Constructs a new SetAppIcon object

public SetAppIcon()

SetAppIcon( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new SetAppIcon object indicated by the Hashtable parameter

public SetAppIcon(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Parameters

hash
The Hashtable to use

SetAppIcon( String sdlFileName )

Constructs a new SetAppIcon object

public SetAppIcon(String sdlFileName)

Parameters

sdlFileName
a String value representing a file reference name
Notes: Maxlength=500, however the max file name length may vary based on remote filesystem limitations

Methods

setSdlFileName( String sdlFileName )

Sets a file reference name

public void setSdlFileName(String sdlFileName)

Parameters

sdlFileName
a String value representing a file reference name

Notes: Maxlength=500, however the max file name length may vary based on remote filesystem limitations

getSdlFileName()

Gets a file reference name

public java.lang.String getSdlFileName()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
com.smartdevicelink.proxy.RPCMessage getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, deserializeJSONObject, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section