Package com.nexmo.client.voice.ncco
Provides useful NCCO classes which can be serialized using Jackson when
implementing webhooks to drive the Nexmo Voice API.
The simplest way to use these classes is to subclass AbstractAnswerServlet
and implement AbstractAnswerServlet.handleRequest(javax.servlet.http.HttpServletRequest).
the returned NCCOResponse will automatically be serialized correctly.
-
Interface Summary Interface Description Action An NCCO action.Endpoint An endpoint for aConnectActionto connect to. -
Class Summary Class Description ConnectAction An NCCO connect action that allows for the establishment of a connection to variousEndpoint.ConnectAction.Builder ConversationAction An NCCO conversation action which enables the ability to host conference calls.ConversationAction.Builder InputAction An NCCO input action which allows for the collection of digits from a person.InputAction.Builder Ncco Nexmo Call Control Object for controlling the flow of a Voice API call.NotifyAction An NCCO notify action which allows for custom events to be sent to a configured webhook.NotifyAction.Builder PhoneEndpoint Represents a phone endpoint used in aConnectActionPhoneEndpoint.Builder RecordAction An NCCO record action which allows for the call to be recorded.RecordAction.Builder SipEndpoint Represents a SIP endpoint used in aConnectActionSipEndpoint.Builder StreamAction An NCCO stream action which allows for media to be streamed to a call.StreamAction.Builder TalkAction An NCCO talk action which allows for synthesized speach to be sent to a call.TalkAction.Builder WebSocketEndpoint Represents a web socket endpoint used in aConnectActionWebSocketEndpoint.Builder -
Enum Summary Enum Description EventMethod The type of request to use when connecting to an event url.EventType The type of event to use.RecordingFormat SplitRecording