public override async Task <SpeechletResponse> OnLaunchAsync(LaunchRequest launchRequest, Session session) { this.Log.LaunchStart(launchRequest, session); var welcomeSpeechlet = new SpeechletFactory(session).CreateWelcome(); return(await welcomeSpeechlet.RespondAsync()); }
public override async Task <SpeechletResponse> OnIntentAsync(IntentRequest intentRequest, Session session) { this.Log.IntentStart(intentRequest, session); // TODO: Wrap intent speechlets in try/catch and log any exceptions var intentSpeechlet = new SpeechletFactory(session).CreateFromIntent(intentRequest.Intent); return(await intentSpeechlet.RespondAsync()); }