vonage-java-sdk v4.0.0-beta.1
1537393662000
Server SDK
Java
Changes
Beta
Note: This is a snapshot of the upcoming v4.0.0 of the library. Things may change.
Added
- Added
Nccoclass to wrapCollection<Action>and handle the serialization of NCCO json throughtoJson. - Added the following
Builderclasses:ConnectAction.BuilderConversationAction.BuilderInputAction.BuilderRecordAction.BuilderStreamAction.BuilderTalkAction.Builder
- Added
PhoneEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
WebSocketEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
SipEndpointtocom.nexmo.voice.nccopackage for use withConnectAction. - Added
EventMethodenumeration to replace the usage of strings. - Added
EventTypeenumeration and the ability to specify theeventTypeproperty ofConnectAction.
Changed
- Renamed all
Nccoclasses toActionclasses:- Renamed
Nccointerface toAction - Renamed
ConnectNccotoConnectAction - Renamed
ConversationNccotoConversationAction - Renamed
InputNccotoInputAction - Renamed
RecordNccotoRecordAction - Renamed
StreamNccotoStreamAction - Renamed
TalkNccotoTalkAction
- Renamed
- All
Actionclasses now must be constructed through the providedBuilderclass. - All
Actionclasses are now immutable. - The
eventUrlproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now aCollection<String>instead of an array. - The
eventMethodproperty ofConnectAction,ConversationAction,InputAction, andRecordActionis now anEventMethodenum instead of a String.
https://github.com/Vonage/vonage-java-sdk/releases/tag/v4.0.0-beta.1