Package com.vonage.client.voice.ncco
Class TalkAction
java.lang.Object
com.vonage.client.voice.ncco.TalkAction
- All Implemented Interfaces:
Action
An NCCO talk action which allows for synthesized speech to be sent to a call.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TalkAction.Builder
getLevel()
getLoop()
getStyle()
getText()
-
Method Details
-
getAction
-
getText
-
getBargeIn
-
getLoop
-
getLevel
-
getLanguage
-
getStyle
-
getPremium
-
builder
- Parameters:
text
- A string of up to 1,500 characters (excluding SSML tags) containing the message to be synthesized in the Call or Conversation. A single comma in text adds a short pause to the synthesized speech. To add a longer pause a break tag needs to be used in SSML.To use SSML tags, you must enclose the text in a speak element.
- Returns:
- A new TalkAction.Builder with the text field initialised.
-