SDL requests to set the values for the prompts to be spoken by TTS during the User's interaction with the application over head unit.
On receiving AddCommand
with CommandType = Command
before a custom helpPrompt
is set by the application, SDL must send updated values of helpPrompt
via TTS.SetGlobalProperties request to HMI.
Name | Type | Mandatory | Additional |
---|---|---|---|
helpPrompt | Common.TTSChunk | false | array: true minsize: 0 maxsize: 100 |
timeoutPrompt | Common.TTSChunk | false | array: true minsize: 1 maxsize: 100 |
appID | Integer | true |
This RPC has no additional parameter requirements
{ "id" : 37, "jsonrpc" : "2.0", "method" : "TTS.SetGlobalProperties", "params" : { "helpPrompt" : [ { "text" : "Yes", "type" : "TEXT" }, { "text" : "No", "type" : "TEXT" }, { "text" : "Skip", "type" : "TEXT" } ], "timeoutPrompt" : [ { "text" : "Please make a choice", "type" : "TEXT" }, { "text" : "The time is about to expire", "type" : "TEXT" } ], "appID" : 65542 } }
{ "id" : 37, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "TTS.SetGlobalProperties" } }
{ "id" : 37, "jsonrpc" : "2.0", "error" : { "code" : 2, "message" : "TTS is not supported", "data" : { "method" : "TTS.SetGlobalProperties" } } }