Package com.twilio.twiml.voice
Class SsmlPhoneme.Builder
- java.lang.Object
-
- com.twilio.twiml.TwiML.Builder<SsmlPhoneme.Builder>
-
- com.twilio.twiml.voice.SsmlPhoneme.Builder
-
- Enclosing class:
- SsmlPhoneme
public static class SsmlPhoneme.Builder extends TwiML.Builder<SsmlPhoneme.Builder>
Create a new<Phoneme>
element
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SsmlPhoneme.Builder
alphabet(SsmlPhoneme.Alphabet alphabet)
Specify the phonetic alphabetSsmlPhoneme
build()
Create and return resulting<Phoneme>
elementSsmlPhoneme.Builder
ph(String ph)
Specifiy the phonetic symbols for pronunciation-
Methods inherited from class com.twilio.twiml.TwiML.Builder
addChild, addText, option
-
-
-
-
Constructor Detail
-
Builder
public Builder(String words)
Create a<Phoneme>
with words
-
-
Method Detail
-
alphabet
public SsmlPhoneme.Builder alphabet(SsmlPhoneme.Alphabet alphabet)
Specify the phonetic alphabet
-
ph
public SsmlPhoneme.Builder ph(String ph)
Specifiy the phonetic symbols for pronunciation
-
build
public SsmlPhoneme build()
Create and return resulting<Phoneme>
element
-
-