C# Класс MediaAppSample.Core.Services.VoiceCommandManager

Наследование: ServiceBase, IServiceSignout
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
VoiceCommandManager ( ) : System

Описание методов

ClearPhraseListAsync() публичный Метод

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.
Результат System.Threading.Tasks.Task

SignoutAsync() публичный Метод

Clears all items from the voice command definition on user signout.
public SignoutAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

UpdatePhraseListAsync() публичный Метод

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.
Результат System.Threading.Tasks.Task