Example #1
0
 public static CrunchResponse Tell(Response.Ssml.Speech speechResponse, Session sessionAttributes)
 {
     return(Tell(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, sessionAttributes));
 }
Example #2
0
 public static CrunchResponse TellWithReprompt(Response.Ssml.Speech speechResponse, Reprompt reprompt, Session sessionAttributes)
 {
     return(TellWithReprompt(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, reprompt, sessionAttributes));
 }
Example #3
0
 public static CrunchResponse AskWithCard(Response.Ssml.Speech speechResponse, string title, string content, Reprompt reprompt, Session sessionAttributes)
 {
     return(AskWithCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, title, content, reprompt, sessionAttributes));
 }
Example #4
0
 public static CrunchResponse TellWithReprompt(Response.Ssml.Speech speechResponse, Reprompt reprompt)
 {
     return(TellWithReprompt(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, reprompt));
 }
Example #5
0
 public static CrunchResponse Tell(Response.Ssml.Speech speechResponse)
 {
     return(Tell(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }));
 }
Example #6
0
 public static CrunchResponse TellWithAskForPermissionConsentCard(Response.Ssml.Speech speechResponse, IEnumerable <string> permissions, Session sessionAttributes)
 {
     return(TellWithAskForPermissionsConsentCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, permissions, sessionAttributes));
 }
Example #7
0
 public static CrunchResponse TellWithLinkAccountCard(Response.Ssml.Speech speechResponse)
 {
     return(TellWithLinkAccountCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }));
 }
Example #8
0
 public static CrunchResponse TellWithCard(Response.Ssml.Speech speechResponse, string title, string content)
 {
     return(TellWithCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, title, content));
 }
Example #9
0
 public Reprompt(Ssml.Speech speech)
 {
     OutputSpeech = new SsmlOutputSpeech {
         Ssml = speech.ToXml()
     };
 }