com.twilio.sdk.verbs
Class Say

java.lang.Object
  extended by com.twilio.sdk.verbs.Verb
      extended by com.twilio.sdk.verbs.Say

public class Say
extends Verb

The Class Say.


Field Summary
 
Fields inherited from class com.twilio.sdk.verbs.Verb
V_BODY, V_CLIENT, V_CONFERENCE, V_DIAL, V_ENQUEUE, V_GATHER, V_HANGUP, V_LEAVE, V_MEDIA, V_MESSAGE, V_NUMBER, V_PAUSE, V_PLAY, V_QUEUE, V_RECORD, V_REDIRECT, V_REJECT, V_RESPONSE, V_SAY, V_SIP, V_SMS, V_URI
 
Constructor Summary
Say(String body)
          Instantiates a new say.
 
Method Summary
 void setLanguage(String str)
          Sets the language.
 void setLoop(int i)
          Sets the loop.
 void setVoice(String str)
          Sets the voice.
 
Methods inherited from class com.twilio.sdk.verbs.Verb
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Say

public Say(String body)
Instantiates a new say.

Parameters:
body - the body
Method Detail

setLoop

public void setLoop(int i)
Sets the loop.

Parameters:
i - the new loop

setLanguage

public void setLanguage(String str)
Sets the language.

Parameters:
str - the new language

setVoice

public void setVoice(String str)
Sets the voice.

Parameters:
str - the new voice


Copyright © 2011 Twilio, Inc. All Rights Reserved.