/// <summary> /// Invoked when the application is launched normally by the end user. Other entry points /// will be used such as when the application is launched to open a specific file. /// </summary> /// <param name="e">Details about the launch request and process.</param> protected override async void OnLaunched(LaunchActivatedEventArgs e) { CustomizeDebugSettings(); InitializeFrame(e); await Cortana.Setup(this); //await Save(); try { await SetupLocalFolder(); //hack } catch (Exception ex) { Debug.WriteLine(ex.Message); } }
private async void InstallTheVCD() { await Cortana.InstallVoiceCommands(); }
private void RespondToForegroundVoiceCommand(VoiceCommandActivatedEventArgs e, IAppPage page) { CortanaCommand command = Cortana.ProcessCommand(e); page.RespondToVoice(command); // see MainPage for example }