C# Class MediaAppSample.Core.Services.VoiceCommandManager

Inheritance: ServiceBase, IServiceSignout
Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
ClearPhraseListAsync ( string commandSetName, string phraseListName, string countryCode = null ) : System.Threading.Tasks.Task

Clear all phrases for a command set.

SignoutAsync ( ) : System.Threading.Tasks.Task

Clears all items from the voice command definition on user signout.

UpdatePhraseListAsync ( string commandSetName, string phraseListName, IEnumerable list, string countryCode = "en-us" ) : System.Threading.Tasks.Task

Updates all phrases in a command set.

Private Methods

Method Description
VoiceCommandManager ( ) : System

Method Details

ClearPhraseListAsync() public method

Clear all phrases for a command set.
public ClearPhraseListAsync ( string commandSetName, string phraseListName, string countryCode = null ) : System.Threading.Tasks.Task
commandSetName string Name of the command set.
phraseListName string Name of the phrase list.
countryCode string Country code for the command set.
return System.Threading.Tasks.Task

SignoutAsync() public method

Clears all items from the voice command definition on user signout.
public SignoutAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UpdatePhraseListAsync() public method

Updates all phrases in a command set.
public UpdatePhraseListAsync ( string commandSetName, string phraseListName, IEnumerable list, string countryCode = "en-us" ) : System.Threading.Tasks.Task
commandSetName string Name of the command set.
phraseListName string Name of the phrase list.
list IEnumerable Strings for the phrase list.
countryCode string Country code for the command set.
return System.Threading.Tasks.Task