Examples of actionSend()


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

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

    final String smil = "<smil><head><layout><root-layout height='100%' width='100%'/><region id='Image' width='100%' height='100%' left='0' top='0'/></layout></head><body><par><img src='http://www.smsapi.pl/media/mms.jpg' region='Image' /></par></body></smil>";

    StatusResponse result;
    BaseAction action = smsApi.actionSend()
        .setSubject("Test")
        .setSmil(smil)
        .setTo(numberTest)
        .setDateSent(time);
View Full Code Here

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

    SmsFactory smsApi = new SmsFactory(client());

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

    StatusResponse result;
    BaseAction action = smsApi.actionSend()
        .setText("test message")
        .setTo(numberTest)
        .setDateSent(time);

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

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

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

    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.