Package com.vonage.client.voice.ncco
Class PhoneEndpoint
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.ncco.PhoneEndpoint
Represents a phone endpoint used in a
ConnectAction. See
the documentation
for an example.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classAn object containing a required url key. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneEndpoint.BuilderSet the digits that are sent to the user as soon as the Call is answered.The phone number to connect to in E.164 format.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
-
getType
-
getNumber
The phone number to connect to in E.164 format.- Returns:
- The phone number as a string.
-
getDtmfAnswer
Set the digits that are sent to the user as soon as the Call is answered. The * and # digits are respected. You create pauses using p. Each pause is 500ms.- Returns:
- The DTMF digits as a string.
-
getOnAnswer
-
builder
-