C# Класс SPIDIdentificationAPI_WPF_Samples.SpeakersListPage

Interaction logic for SpeakersListPage.xaml
Наследование: System.Windows.Controls.Page
Показать файл Открыть проект

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

Метод Описание
AddSpeaker ( Profile speaker ) : void

Adds a speaker profile to the speakers list

GetSelectedProfiles ( ) : Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile[]

Gets the selected profiles from the speakers list

SetMultipleSelectionMode ( ) : void

Enables multiple selection mode for the speakers list

SetSingleSelectionMode ( ) : void

Enables single selection mode for the speakers list

UpdateAllSpeakersAsync ( ) : System.Threading.Tasks.Task

Retrieves all the speakers asynchronously and adds them to the list

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

Метод Описание
Page_Loaded ( object sender, RoutedEventArgs e ) : void
SpeakersListPage ( ) : Microsoft.ProjectOxford.SpeakerRecognition
_UpdateBtn_Click ( object sender, RoutedEventArgs e ) : void

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

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

Adds a speaker profile to the speakers list
public AddSpeaker ( Profile speaker ) : void
speaker Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile The speaker profile to add
Результат void

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

Gets the selected profiles from the speakers list
public GetSelectedProfiles ( ) : Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile[]
Результат Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile[]

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

Enables multiple selection mode for the speakers list
public SetMultipleSelectionMode ( ) : void
Результат void

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

Enables single selection mode for the speakers list
public SetSingleSelectionMode ( ) : void
Результат void

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

Retrieves all the speakers asynchronously and adds them to the list
public UpdateAllSpeakersAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task