Exemple #1
0
 public static CrunchResponse TellWithReprompt(Response.Ssml.Speech speechResponse, Reprompt reprompt, Session sessionAttributes)
 {
     return(TellWithReprompt(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, reprompt, sessionAttributes));
 }
Exemple #2
0
 public static CrunchResponse TellWithReprompt(Response.Ssml.Speech speechResponse, Reprompt reprompt)
 {
     return(TellWithReprompt(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, reprompt));
 }
Exemple #3
0
 public static CrunchResponse Tell(Response.Ssml.Speech speechResponse, Session sessionAttributes)
 {
     return(Tell(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, sessionAttributes));
 }
Exemple #4
0
 public static CrunchResponse Tell(Response.Ssml.Speech speechResponse)
 {
     return(Tell(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }));
 }
Exemple #5
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));
 }
Exemple #6
0
 public static CrunchResponse TellWithAskForPermissionConsentCard(Response.Ssml.Speech speechResponse, IEnumerable <string> permissions, Session sessionAttributes)
 {
     return(TellWithAskForPermissionsConsentCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, permissions, sessionAttributes));
 }
Exemple #7
0
 public static CrunchResponse TellWithLinkAccountCard(Response.Ssml.Speech speechResponse)
 {
     return(TellWithLinkAccountCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }));
 }
Exemple #8
0
 public static CrunchResponse TellWithCard(Response.Ssml.Speech speechResponse, string title, string content)
 {
     return(TellWithCard(new SsmlOutputSpeech {
         Ssml = speechResponse.ToXml()
     }, title, content));
 }
Exemple #9
0
 public Reprompt(Ssml.Speech speech)
 {
     OutputSpeech = new SsmlOutputSpeech {
         Ssml = speech.ToXml()
     };
 }
 public Task <HttpResponseMessage> SendSpeech(Ssml.Speech ssml)
 {
     return(Send(new VoicePlayerSpeakDirective(ssml)));
 }