public class BridgeTransfer extends SupervisedTransfer
BridgeTransfer
is a SupervisedTransfer
that connects the
caller to the callee in a full duplex conversation.Modifier and Type | Class and Description |
---|---|
static class |
BridgeTransfer.Builder
Builder used to ease the creation of instances of
BridgeTransfer . |
Constructor and Description |
---|
BridgeTransfer(String name,
String destination) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTurnProperties(javax.json.JsonObjectBuilder builder) |
protected void |
customizeTransferElement(Element transferElement)
Allows the customization of the generated transfer element
|
boolean |
equals(Object obj) |
Duration |
getMaximumTime() |
protected String |
getTransferType() |
int |
hashCode() |
void |
setMaximumTime(Duration maximumTime) |
getConnectTimeout, getDtmfRecognition, getSpeechRecognition, getTransferAudio, setConnectTimeout, setDtmfRecognition, setSpeechRecognition, setTransferAudio
fillVoiceXmlDocument, getApplicationToApplicationInformation, getDestination, getOuputTurnType, setApplicationToApplicationInformation
addEventHandlerScript, addTopLevelProperties, createVoiceXmlDocument
addAdapter, asJson, getName, getVoiceXmlDocument, toString
public BridgeTransfer(String name, String destination)
name
- The name of this turn. Not empty.destination
- The URI of the destination (telephone, IP telephony
address). Not empty.public final void setMaximumTime(Duration maximumTime)
maximumTime
- The time that the call is allowed to last.
null
to use the VoiceXML platform default.public final Duration getMaximumTime()
protected final String getTransferType()
getTransferType
in class Transfer
protected void customizeTransferElement(Element transferElement) throws VoiceXmlDocumentRenderingException
Transfer
customizeTransferElement
in class SupervisedTransfer
transferElement
- The transfer element to customize.VoiceXmlDocumentRenderingException
- when an error occurs while
rendering the VoiceXml documentprotected void addTurnProperties(javax.json.JsonObjectBuilder builder)
addTurnProperties
in class SupervisedTransfer
public int hashCode()
hashCode
in class SupervisedTransfer
public boolean equals(Object obj)
equals
in class SupervisedTransfer
Copyright © 2019 Nu Echo Inc..