C# Class SPIDIdentificationAPI_WPF_Samples.SpeakersListPage

Interaction logic for SpeakersListPage.xaml
Inheritance: System.Windows.Controls.Page
ファイルを表示 Open project: Microsoft/ProjectOxford-ClientSDK

Public Methods

Method Description
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

Private Methods

Method Description
Page_Loaded ( object sender, RoutedEventArgs e ) : void
SpeakersListPage ( ) : Microsoft.ProjectOxford.SpeakerRecognition
_UpdateBtn_Click ( object sender, RoutedEventArgs e ) : void

Method Details

AddSpeaker() public method

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
return void

GetSelectedProfiles() public method

Gets the selected profiles from the speakers list
public GetSelectedProfiles ( ) : Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile[]
return Microsoft.ProjectOxford.SpeakerRecognition.Contract.Identification.Profile[]

SetMultipleSelectionMode() public method

Enables multiple selection mode for the speakers list
public SetMultipleSelectionMode ( ) : void
return void

SetSingleSelectionMode() public method

Enables single selection mode for the speakers list
public SetSingleSelectionMode ( ) : void
return void

UpdateAllSpeakersAsync() public method

Retrieves all the speakers asynchronously and adds them to the list
public UpdateAllSpeakersAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task