예제 #1
0
 public static void SetExpectedAnswer(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, int answer)
 {
     response.sessionAttributes.Add("answer", answer.ToString());
 }
예제 #2
0
 public static void SetQuestionType(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, QuestionType type)
 {
     response.sessionAttributes.Add("questionType", type.ToString());
 }
예제 #3
0
 public static void SetNumberOfQuestionsAsked(this MyFirstAlexaSkill.Application.AlexaServiceResponse response, int numberAsked)
 {
     response.sessionAttributes.Add("numberOfQuestionsAsked", numberAsked.ToString());
 }