java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCRequest
Function Group: Base
HMILevel needs to be FULL, LIMITED or BACKGROUND
AudioStreamingState:
AnySystemContext:
AnyParameter List
Param Name | Type | Description | Req. | Notes | Version Available |
---|---|---|---|---|---|
helpPrompt | TTSChunk | The help prompt. An array of text chunks of type TTSChunk. See TTSChunk.The array must have at least one item. | N | Array must have at least one element. Only optional it timeoutPrompt has been specified. minsize:1; maxsize: 100 |
SmartDeviceLink 1.0 |
timeoutPrompt | TTSChunk | Array of one or more TTSChunk elements specifying the help prompt used in an interaction started by PTT. | N | Array must have at least one element. Only optional it helpPrompt has been specified minsize: 1; maxsize: 100 |
SmartDeviceLink 1.0 |
vrHelpTitle | string | Text, which is shown as title of the VR help screen used in an interaction started by PTT. | N | If omitted on supported displays, the default SDL help title will be used. If omitted and one or more vrHelp items are provided, the request will be rejected. maxLength: 500 |
SmartDeviceLink 1.0 |
vrHelp | VrHelp | Items listed in the VR help screen used in an interaction started by PTT. | N | If omitted on supported displays, the default SDL VR help / What Can I Say? screen will be used If the list of VR Help Items contains non-sequential positions (e.g. [1,2,4]), the RPC will be rejected. If omitted and a vrHelpTitle is provided, the request will be rejected. minsize:1; maxsize: 100 |
SmartDeviceLink 1.0 |
menuTitle | Optional text to label an app menu button (for certain touchscreen platforms). | N | maxlength: 500 | SmartDeviceLink 1.0 | |
menuIcon | Image | Optional icon to draw on an app menu button (for certain touchscreen platforms). | N | SmartDeviceLink 1.0 | |
keyboardProperties | KeyboardProperties | On-screen keyboard configuration (if available). | N | SmartDeviceLink 1.0 | |
menuLayout | MenuLayout | Sets the layout of the main menu screen. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type. | SmartDeviceLink 6.0 |
Note: Your application shall send a SetGlobalProperties to establish an advanced help prompt before sending any voice commands.
Response
Indicates whether the requested Global Properties were successfully set.Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORYTOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
DISALLOWED
public static final java.lang.String KEY_VR_HELP_TITLE
public static final java.lang.String KEY_MENU_TITLE
public static final java.lang.String KEY_MENU_ICON
public static final java.lang.String KEY_KEYBOARD_PROPERTIES
public static final java.lang.String KEY_HELP_PROMPT
public static final java.lang.String KEY_TIMEOUT_PROMPT
public static final java.lang.String KEY_VR_HELP
public static final java.lang.String KEY_USER_LOCATION
public static final java.lang.String KEY_MENU_LAYOUT
Constructs a new SetGlobalProperties object
public SetGlobalProperties()
Constructs a new SetGlobalProperties object indicated by the Hashtable parameter
public SetGlobalProperties(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Gets a List
public java.util.List getHelpPrompt()
Sets a List
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setHelpPrompt(java.util.List<com.smartdevicelink.proxy.rpc.TTSChunk> helpPrompt)
Gets a List
public java.util.List getTimeoutPrompt()
Sets a List
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setTimeoutPrompt(java.util.List<com.smartdevicelink.proxy.rpc.TTSChunk> timeoutPrompt)
Gets a voice recognition Help Title
public java.lang.String getVrHelpTitle()
Sets a voice recognition Help Title
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setVrHelpTitle(String vrHelpTitle)
Gets items listed in the VR help screen used in an interaction started by PTT
public java.util.List getVrHelp()
Sets the items listed in the VR help screen used in an interaction started by PTT
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setVrHelp(java.util.List<com.smartdevicelink.proxy.rpc.VrHelpItem> vrHelp)
public java.lang.String getMenuTitle()
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setMenuTitle(String menuTitle)
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setMenuIcon(Image menuIcon)
public com.smartdevicelink.proxy.rpc.Image getMenuIcon()
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setKeyboardProperties(KeyboardProperties keyboardProperties)
Sets the user seat location
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setUserLocation(SeatLocation location)
Gets the user seat location
public com.smartdevicelink.proxy.rpc.SeatLocation getUserLocation()
public com.smartdevicelink.proxy.rpc.KeyboardProperties getKeyboardProperties()
Sets the layout of the main menu screen. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type.
public com.smartdevicelink.proxy.rpc.SetGlobalProperties setMenuLayout(MenuLayout menuLayout)
Sets the layout of the main menu screen. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type.
public com.smartdevicelink.proxy.rpc.enums.MenuLayout getMenuLayout()
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 |