public class Output
Holds a static output of a reply.
| Constructor and Description |
|---|
Output(java.lang.String displayText,
java.lang.String ssml,
java.util.Map<java.lang.Integer,java.lang.String> reprompts,
java.util.List<java.lang.String> suggestions,
java.util.Map<java.lang.String,java.lang.String> extras)
Holds a static output of a reply.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The display test.
|
java.lang.String |
component2()
The Speech Synthesis Markup Language,
|
java.util.Map<java.lang.Integer,java.lang.String> |
component3()
The reprompts which should the user hear when the user gives no input.
|
java.util.List<java.lang.String> |
component4()
The list of suggestions which should been displayed.
|
java.util.Map<java.lang.String,java.lang.String> |
component5()
The strings for UI elements
|
Output |
copy(java.lang.String displayText,
java.lang.String ssml,
java.util.Map<java.lang.Integer,java.lang.String> reprompts,
java.util.List<java.lang.String> suggestions,
java.util.Map<java.lang.String,java.lang.String> extras)
Holds a static output of a reply.
|
boolean |
equals(java.lang.Object p) |
java.lang.String |
getDisplayText()
The display test.
|
java.util.Map<java.lang.String,java.lang.String> |
getExtras()
The strings for UI elements
|
java.util.Map<java.lang.Integer,java.lang.String> |
getReprompts()
The reprompts which should the user hear when the user gives no input.
|
java.lang.String |
getSsml()
The Speech Synthesis Markup Language,
|
java.util.List<java.lang.String> |
getSuggestions()
The list of suggestions which should been displayed.
|
int |
hashCode() |
java.lang.String |
toString() |
public Output(java.lang.String displayText,
java.lang.String ssml,
java.util.Map<java.lang.Integer,java.lang.String> reprompts,
java.util.List<java.lang.String> suggestions,
java.util.Map<java.lang.String,java.lang.String> extras)
Holds a static output of a reply.
displayText - The display test.ssml - The Speech Synthesis Markup Language, the spoken output.reprompts - The reprompts which should the user hear when the user gives no input.suggestions - The list of suggestions which should been displayed.extras - The strings for UI elementspublic java.lang.String getDisplayText()
The display test.
public java.lang.String getSsml()
The Speech Synthesis Markup Language,
the spoken output.
public java.util.Map<java.lang.Integer,java.lang.String> getReprompts()
The reprompts which should the user hear when the user gives no input.
public java.util.List<java.lang.String> getSuggestions()
The list of suggestions which should been displayed.
public java.util.Map<java.lang.String,java.lang.String> getExtras()
The strings for UI elements
public java.lang.String component1()
The display test.
public java.lang.String component2()
The Speech Synthesis Markup Language,
the spoken output.
public java.util.Map<java.lang.Integer,java.lang.String> component3()
The reprompts which should the user hear when the user gives no input.
public java.util.List<java.lang.String> component4()
The list of suggestions which should been displayed.
public java.util.Map<java.lang.String,java.lang.String> component5()
The strings for UI elements
public Output copy(java.lang.String displayText, java.lang.String ssml, java.util.Map<java.lang.Integer,java.lang.String> reprompts, java.util.List<java.lang.String> suggestions, java.util.Map<java.lang.String,java.lang.String> extras)
Holds a static output of a reply.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)