java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCRequest
Parameter List
Param Name | Type | Description | Req. | Notes | Version Available |
---|---|---|---|---|---|
displayLayout | string | Predefined or dynamically created screen layout. Currently only predefined screen layouts are defined. Predefined layouts include: "ONSCREEN_PRESETS" Custom screen containing app-defined onscreen presets. |
Y | maxlength: 500 | SmartDeviceLink 2.0 |
dayColorScheme | TemplateColorScheme | The color scheme that is used for day. | N | SmartDeviceLink 5.0 | |
nightColorScheme | TemplateColorScheme | The color scheme that is used for night. | N | SmartDeviceLink 5.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
public static final java.lang.String KEY_DISPLAY_LAYOUT
public static final java.lang.String KEY_DAY_COLOR_SCHEME
public static final java.lang.String KEY_NIGHT_COLOR_SCHEME
Constructs a new SetDisplayLayout object
public SetDisplayLayout()
Constructs a new SetDisplayLayout object indicated by the Hashtable parameter
public SetDisplayLayout(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a new SetDisplayLayout object
public SetDisplayLayout(String displayLayout)
Sets a display layout. Predefined or dynamically created screen layout. Currently only predefined screen layouts are defined. Predefined layouts include: "ONSCREEN_PRESETS" Custom screen containing app-defined onscreen presets. Currently defined for GEN2
public com.smartdevicelink.proxy.rpc.SetDisplayLayout setDisplayLayout(String displayLayout)
Gets a display layout.
public java.lang.String getDisplayLayout()
Gets the color scheme that is currently used for day
public com.smartdevicelink.proxy.rpc.TemplateColorScheme getDayColorScheme()
Sets the color scheme that is intended to be used for day
public com.smartdevicelink.proxy.rpc.SetDisplayLayout setDayColorScheme(TemplateColorScheme templateColorScheme)
Gets the color scheme that is currently used for night
public com.smartdevicelink.proxy.rpc.TemplateColorScheme getNightColorScheme()
Sets the color scheme that is intended to be used for night
public com.smartdevicelink.proxy.rpc.SetDisplayLayout setNightColorScheme(TemplateColorScheme templateColorScheme)
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCRequest | getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener |
com.smartdevicelink.proxy.RPCMessage | getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong |
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |