package com.smartdevicelink.proxy.rpc; import com.smartdevicelink.protocol.enums.FunctionID; import com.smartdevicelink.proxy.RPCRequest; import java.util.Hashtable; /** * Used to set an alternate display layout. If not sent, default screen for * given platform will be shown * * *
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 | *
Response
* *Non-default Result Codes:
*SUCCESS
*INVALID_DATA
*OUT_OF_MEMORY
*TOO_MANY_PENDING_REQUESTS
*APPLICATION_NOT_REGISTERED
*GENERIC_ERROR
*REJECTED
* @since SmartDeviceLink 2.0 */ public class SetDisplayLayout extends RPCRequest { public static final String KEY_DISPLAY_LAYOUT = "displayLayout"; /** * Constructs a new SetDisplayLayout object */ public SetDisplayLayout() { super(FunctionID.SET_DISPLAY_LAYOUT.toString()); } /** * Constructs a new SetDisplayLayout object indicated by the Hashtable * parameter * * * @param hash * The Hashtable to use */ public SetDisplayLayout(Hashtable