Package org.speakright.core.flows

Examples of org.speakright.core.flows.DisconnectFlow


      add(new PromptFlow("g'day!"));
          SROQuantity qflow = new SROQuantity("bottles", 1, 10);
          qflow.setConfirmer(new YesNoConfirmerFlow("yn.grxml"));
      add(qflow);
      add(new PFlow("You said {$INPUT}"));
      add(new DisconnectFlow("bye"));
    }
View Full Code Here


      add(new PromptFlow("let's test sronumber!"));
          SRONumber qflow = new SRONumber("bottles", 1, 10);
          qflow.setConfirmer(new SROConfirmYesNo("wine"));
      add(qflow);
      add(new PFlow("You said {$INPUT}"));
      add(new DisconnectFlow("bye"));
    }
View Full Code Here

     
      addChoice("character", new AppEvent(App.BRANCH_START_AGAIN));
      addChoice("results", new VotingResultsList());
      addChoice("statistics", new PromptFlow("This feature has not yet been implemented.")); //new CustomEvent("restart"));
      addChoice("speakright", new PromptFlow("SpeakRight is an open-source Java framework for speech applications using Voice XML."));
      addChoice("goodbye", new DisconnectFlow("Goodbye."));
    }
View Full Code Here

          flow.addPromptFlow(String.format("Today is %s. {..}", date_out));

          flow.add(new SRONumber("number", 1, 10));
          flow.addPromptFlow("You said {$INPUT}.");
         
          flow.add(new DisconnectFlow("good bye for now. {..}"));
          runner.startApp(flow);
    }
    else {
      runner.logger().log("contine in GET!!");
      runner.continueApp();
View Full Code Here

TOP

Related Classes of org.speakright.core.flows.DisconnectFlow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.