public class Bridge extends BaseModelObject
| Modifier and Type | Class and Description |
|---|---|
class |
Bridge.NewBridgeAudioBuilder |
client, dateFormat, parentUri, properties| Constructor and Description |
|---|
Bridge(BandwidthRestClient client,
String parentUri,
org.json.simple.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Makes changes ob the bridge.
|
Date |
getActivatedTime() |
List<Call> |
getBridgeCalls()
Gets list of calls that are on the bridge
|
String[] |
getCallIds() |
String |
getCalls() |
Date |
getCompletedTime() |
Date |
getCreatedTime() |
String |
getState() |
boolean |
isBridgeAudio() |
Bridge.NewBridgeAudioBuilder |
newBridgeAudioBuilder()
Creates new builder for playing an audio file or speaking a sentence in a bridge.
|
void |
setBridgeAudio(boolean bridgeAudio)
Sets bridge audio
|
void |
setCallIds(String[] callIds)
Sets call ids
|
void |
stopAudioFilePlaying()
Stop an audio file playing.
|
void |
stopSentence()
Stop an audio sentence.
|
String |
toString() |
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getUri, putProperty, toMap, updatePropertiespublic Bridge(BandwidthRestClient client, String parentUri, org.json.simple.JSONObject jsonObject)
public List<Call> getBridgeCalls() throws IOException
IOExceptionpublic void setCallIds(String[] callIds)
callIds - new valuepublic void setBridgeAudio(boolean bridgeAudio)
bridgeAudio - new valuepublic void commit()
throws IOException
IOExceptionpublic String getState()
public String[] getCallIds()
public String getCalls()
public boolean isBridgeAudio()
public Date getCompletedTime()
public Date getCreatedTime()
public Date getActivatedTime()
public Bridge.NewBridgeAudioBuilder newBridgeAudioBuilder()
bridge.newBridgeAudioBuilder().sentence("Hello").create();public void stopAudioFilePlaying()
throws IOException
IOExceptionpublic void stopSentence()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.