Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Configuring the Voice HelpBar for Samsung SmartTV Applications

The voice helpbar shows available voice commands or status information on the bottom of the Samsung SmartTV screen. Use the SetVoiceHelpbarInfo() function to control the voice helpbar.

image0.jpg

The Voice HelpBar shown here is from the 2012 Model, and the View All Voice Commands are from the 2013 Model.

image1.jpg

The helpbar has two modes—embedded and server guide—and receives string type parameters.

The SetVoiceHelpbarInfo() Function
Function SetVoiceHelpbarInfo
Version Support from RECOGNITION-0001
Security Type RECOG
Usage SetVoiceHelpbarInfo(helpbarInfo)
Parameters helpbarInfo
[string] Information of the helpbar to be registered
Case 1: Embedded Mode
helpbarInfo = '{
"helpbarType":"HELPBAR_TYPE_VOICE_CUSTOMIZE",
"helpbarItemsList":[{
"itemText":"Channel Up/Down",
"commandList":[
{"command":"Channel Up"},
{"command":"Channel Down"}]
},{
"itemText":"Stop",
"commandList":[
{"command":"Stop"}]
}
],
"candidateList":[
{"candidate":"Search"},
{"candidate":"SearchAll"}
]
}';

Case 2: Server Guide Mode
helpbarInfo = '{
"helpbarType":"HELPBAR_TYPE_VOICE_SERVER_GUIDE",
"guideText":"Say the word or phrase you wish to type"}';
Example var helpbarInfo =
'{"helpbarType":"HELPBAR_TYPE_VOICE_CUSTOMIZE","helpbarItemsList":[{"itemText":"Channel", "commandList":[{"command":"Channel"}]},{"itemText":"Stop", "commandList":[{"command":"Stop"}]}],"candidateList":[{"candidate":"Search"},{"candidate":"SearchAll"}]}';

webapis.recognition.SetVoiceHelpbarInfo(helpbarInfo);

Each helpbar mode uses a different method to process the voice data. The embedded one processes the voice data internally, and tries to match it with one of the registered commands in the helpbar. A maximum of seven commands can be registered.

The server guide mode uses an external voice recognition service. The TV sends the recorded sounds file to the server, and the server returns a recognized result back to the TV. This is a more powerful mode, but it requires an Internet connection.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.