Package com.twilio.twiml.voice
Class Say
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Say
-
public class Say extends TwiML
TwiML wrapper for<Say>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSay.BuilderCreate a new<Say>elementstatic classSay.Languagestatic classSay.Voice
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Say.LanguagegetLanguage()Message languageIntegergetLoop()Times to loop messageStringgetMessage()Message to saySay.VoicegetVoice()Voice to use-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getVoice
public Say.Voice getVoice()
Voice to use- Returns:
- Voice to use
-
getLoop
public Integer getLoop()
Times to loop message- Returns:
- Times to loop message
-
getLanguage
public Say.Language getLanguage()
Message language- Returns:
- Message language
-
getMessage
public String getMessage()
Message to say- Returns:
- Message to say
-
-