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