public class SetGlobalProperties extends 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
ResetGlobalProperties| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_HELP_PROMPT |
static String |
KEY_KEYBOARD_PROPERTIES |
static String |
KEY_MENU_ICON |
static String |
KEY_MENU_LAYOUT |
static String |
KEY_MENU_TITLE |
static String |
KEY_TIMEOUT_PROMPT |
static String |
KEY_USER_LOCATION |
static String |
KEY_VR_HELP |
static String |
KEY_VR_HELP_TITLE |
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 |
|---|
SetGlobalProperties()
Constructs a new SetGlobalProperties object
|
SetGlobalProperties(Hashtable<String,Object> hash)
Constructs a new SetGlobalProperties object indicated by the Hashtable
parameter
|
| Modifier and Type | Method and Description |
|---|---|
List<TTSChunk> |
getHelpPrompt()
Gets a List
|
KeyboardProperties |
getKeyboardProperties() |
Image |
getMenuIcon() |
MenuLayout |
getMenuLayout()
Sets the layout of the main menu screen.
|
String |
getMenuTitle() |
List<TTSChunk> |
getTimeoutPrompt()
Gets a List
|
SeatLocation |
getUserLocation()
Gets the user seat location
|
List<VrHelpItem> |
getVrHelp()
Gets items listed in the VR help screen used in an interaction started by
PTT
|
String |
getVrHelpTitle()
Gets a voice recognition Help Title
|
SetGlobalProperties |
setHelpPrompt(List<TTSChunk> helpPrompt)
Sets a List
|
SetGlobalProperties |
setKeyboardProperties(KeyboardProperties keyboardProperties) |
SetGlobalProperties |
setMenuIcon(Image menuIcon) |
SetGlobalProperties |
setMenuLayout(MenuLayout menuLayout)
Sets the layout of the main menu screen.
|
SetGlobalProperties |
setMenuTitle(String menuTitle) |
SetGlobalProperties |
setTimeoutPrompt(List<TTSChunk> timeoutPrompt)
Sets a List
|
SetGlobalProperties |
setUserLocation(SeatLocation location)
Sets the user seat location
|
SetGlobalProperties |
setVrHelp(List<VrHelpItem> vrHelp)
Sets the items listed in the VR help screen used in an interaction
started by PTT
|
SetGlobalProperties |
setVrHelpTitle(String vrHelpTitle)
Sets a voice recognition Help Title
|
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_VR_HELP_TITLE
public static final String KEY_MENU_TITLE
public static final String KEY_MENU_ICON
public static final String KEY_KEYBOARD_PROPERTIES
public static final String KEY_HELP_PROMPT
public static final String KEY_TIMEOUT_PROMPT
public static final String KEY_VR_HELP
public static final String KEY_USER_LOCATION
public static final String KEY_MENU_LAYOUT
public SetGlobalProperties()
public List<TTSChunk> getHelpPrompt()
public SetGlobalProperties setHelpPrompt(List<TTSChunk> helpPrompt)
helpPrompt - a Listpublic List<TTSChunk> getTimeoutPrompt()
public SetGlobalProperties setTimeoutPrompt(List<TTSChunk> timeoutPrompt)
public String getVrHelpTitle()
public SetGlobalProperties setVrHelpTitle(String vrHelpTitle)
vrHelpTitle - a String value representing a voice recognition Help Title
Notes:
public List<VrHelpItem> getVrHelp()
public SetGlobalProperties setVrHelp(List<VrHelpItem> vrHelp)
vrHelp - a List value representing items listed in the VR help screen
used in an interaction started by PTT
Notes:
public String getMenuTitle()
public SetGlobalProperties setMenuTitle(String menuTitle)
public SetGlobalProperties setMenuIcon(Image menuIcon)
public Image getMenuIcon()
public SetGlobalProperties setKeyboardProperties(KeyboardProperties keyboardProperties)
public SetGlobalProperties setUserLocation(SeatLocation location)
location - the location to be setpublic SeatLocation getUserLocation()
public KeyboardProperties getKeyboardProperties()
public SetGlobalProperties setMenuLayout(MenuLayout menuLayout)
menuLayout - - the menuLayoutpublic MenuLayout getMenuLayout()