Package pl.smsapi.api

Examples of pl.smsapi.api.VmsFactory.actionSend()


    final long time = (new Date().getTime() / 1000) + 86400;

    final String tts = "to jest test";

    StatusResponse result;
    BaseAction action = smsApi.actionSend()
        .setTts(tts)
        .setTo(numberTest)
        .setDateSent(time);

    result = (StatusResponse) executeAction(action);
View Full Code Here


    final File fileAudio = new File("voice_small.wav");

    if (fileAudio.exists()) {

      StatusResponse result;
      BaseAction action = smsApi.actionSend()
          .setFile(fileAudio)
          .setTo(numberTest)
          .setDateSent(time);

      result = (StatusResponse) executeAction(action);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.