Package com.vonage.client.voice.ncco
Class InputAction
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.ncco.InputAction
An NCCO input action which allows for the collection of digits and automatic speech recognition from a person.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for specifying the properties of an InputAction. -
Method Summary
Modifier and TypeMethodDescriptionstatic InputAction.Builderbuilder()Entrypoint for constructing an instance of this class.getDtmf()getMode()How the input should be processed.getType()Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getAction
-
getType
-
getDtmf
-
getEventUrl
-
getEventMethod
-
getSpeech
-
getMode
How the input should be processed. If not set, the default is InputMode.SYNCHRONOUS.- Returns:
- The mode as an enum, or
nullif unspecified. - Since:
- 8.12.0
-
builder
Entrypoint for constructing an instance of this class.- Returns:
- A new Builder.
-