C# Class ApiAiDemo.MainPage

An empty page that can be used on its own or navigated to within a Frame.
Datei anzeigen Open project: api-ai/cortana-sample

Private Properties

Property Type Description
AIService_OnListeningStarted void
AIService_OnListeningStopped void
InitializeRecognizer System.Threading.Tasks.Task
InitializeSynthesizer void
InstallVoiceCommands_Click void
JsonButton_Click void
Listen_Click void
MediaElement_MediaEnded void
OutputJson void
OutputParams void
ProcessResult void
RunInUIThread void
SetupTheme void
UninstallCommands_Click void

Public Methods

Method Description
MainPage ( ) : System

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Method Description
AIService_OnListeningStarted ( ) : void
AIService_OnListeningStopped ( ) : void
InitializeRecognizer ( ) : System.Threading.Tasks.Task
InitializeSynthesizer ( ) : void
InstallVoiceCommands_Click ( object sender, RoutedEventArgs e ) : void
JsonButton_Click ( object sender, RoutedEventArgs e ) : void
Listen_Click ( object sender, RoutedEventArgs e ) : void
MediaElement_MediaEnded ( object sender, RoutedEventArgs e ) : void
OutputJson ( ApiAiSDK.Model.AIResponse aiResponse ) : void
OutputParams ( ApiAiSDK.Model.AIResponse aiResponse ) : void
ProcessResult ( ApiAiSDK.Model.AIResponse aiResponse ) : void
RunInUIThread ( System.Action a ) : void
SetupTheme ( ) : void
UninstallCommands_Click ( object sender, RoutedEventArgs e ) : void

Method Details

MainPage() public method

public MainPage ( ) : System
return System

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void