Package com.vonage.client.voice
Class Call
java.lang.Object
com.vonage.client.voice.Call
public class Call extends java.lang.Object
Call encapsulates the information required to create a call using
VoiceClient.createCall(Call)-
Constructor Summary
Constructors Constructor Description Call()Call(Endpoint[] to, Endpoint from, Ncco ncco)Call(Endpoint[] to, Endpoint from, java.lang.String answerUrl)Call(Endpoint to, Endpoint from, Ncco ncco)Call(Endpoint to, Endpoint from, java.lang.String answerUrl)Call(java.lang.String to, java.lang.String from, Ncco ncco)Call(java.lang.String to, java.lang.String from, java.lang.String answerUrl) -
Method Summary
Modifier and Type Method Description static CallfromJson(java.lang.String json)java.lang.StringgetAnswerMethod()java.lang.String[]getAnswerUrl()java.lang.StringgetEventMethod()java.lang.String[]getEventUrl()EndpointgetFrom()java.lang.IntegergetLengthTimer()MachineDetectiongetMachineDetection()NccogetNcco()java.lang.IntegergetRingingTimer()Endpoint[]getTo()voidsetAnswerMethod(java.lang.String answerMethod)voidsetAnswerUrl(java.lang.String answerUrl)voidsetEventMethod(java.lang.String eventMethod)voidsetEventUrl(java.lang.String eventUrl)voidsetFrom(Endpoint from)voidsetLengthTimer(java.lang.Integer lengthTimer)voidsetMachineDetection(MachineDetection machineDetection)voidsetRingingTimer(java.lang.Integer ringingTimer)voidsetTo(Endpoint[] to)java.lang.StringtoJson()