C# Class MediaAppSample.Core.Services.VoiceCommandManager

Inheritance: ServiceBase, IServiceSignout
Afficher le fichier Open project: Microsoft/TVHelpers

Méthodes publiques

Méthode 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

Méthode Description
VoiceCommandManager ( ) : System

Method Details

ClearPhraseListAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

SignoutAsync() public méthode

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

UpdatePhraseListAsync() public méthode

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.
Résultat System.Threading.Tasks.Task