public class Conference extends ResourceBase
Modifier and Type | Class and Description |
---|---|
class |
Conference.ConferenceAudioBuilder |
client, id, properties
dateFormat
Constructor and Description |
---|
Conference(BandwidthClient client,
org.json.simple.JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
void |
complete()
Terminates conference.
|
Conference.ConferenceAudioBuilder |
conferenceAudioBuilder()
Creates new builder for playing an audio file or speaking a sentence in a conference.
|
static Conference |
createConference(BandwidthClient client,
java.util.Map<java.lang.String,java.lang.Object> params)
Factory method to create a conference given a set of params and a client object
|
static Conference |
createConference(java.util.Map<java.lang.String,java.lang.Object> params)
Factory method to create a conference given a set of params
|
java.lang.Long |
getActiveMembers() |
java.lang.Long |
getCallbackTimeout() |
java.lang.String |
getCallbackUrl() |
java.util.Date |
getCompletedTime() |
static Conference |
getConference(BandwidthClient client,
java.lang.String id)
Retrieves the conference information.
|
static Conference |
getConference(java.lang.String id)
Retrieves the conference information.
|
java.util.Date |
getCreatedTime() |
java.lang.String |
getFallbackUrl() |
java.lang.String |
getFrom() |
java.util.List<ConferenceMember> |
getMembers()
Gets list all members from a conference.
|
java.lang.String |
getState() |
protected java.lang.String |
getUri() |
void |
mute()
Prevent all members from speaking.
|
protected void |
setUp(org.json.simple.JSONObject jsonObject) |
java.lang.String |
toString() |
getClient, getId, getProperties, setId, toJSONArray, toJSONObject
getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updateProperties
public Conference(BandwidthClient client, org.json.simple.JSONObject jsonObject)
public static Conference getConference(java.lang.String id) throws java.lang.Exception
id
- conference idjava.io.IOException
- unexpected error.java.lang.Exception
public static Conference getConference(BandwidthClient client, java.lang.String id) throws java.lang.Exception
client
- the clientid
- the conference id.java.io.IOException
- unexpected error.java.lang.Exception
public static Conference createConference(java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
params
- the paramsjava.io.IOException
- unexpected error.java.lang.Exception
public static Conference createConference(BandwidthClient client, java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
client
- the bandwidth client configuration.params
- the paramsjava.io.IOException
- unexpected error.java.lang.Exception
protected void setUp(org.json.simple.JSONObject jsonObject)
setUp
in class ResourceBase
protected java.lang.String getUri()
public java.lang.String getFrom()
public java.lang.String getCallbackUrl()
public java.lang.String getFallbackUrl()
public java.lang.String getState()
public java.lang.Long getActiveMembers()
public java.lang.Long getCallbackTimeout()
public java.util.Date getCompletedTime()
public java.util.Date getCreatedTime()
public void complete() throws java.lang.Exception
java.io.IOException
- unexpected error.java.lang.Exception
public void mute() throws java.lang.Exception
java.io.IOException
- unexpected error.java.lang.Exception
public java.util.List<ConferenceMember> getMembers() throws java.lang.Exception
java.io.IOException
- unexpected error.java.lang.Exception
public Conference.ConferenceAudioBuilder conferenceAudioBuilder()
conference.conferenceAudioBuilder().fileUrl("url_to_file").create();
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019. All Rights Reserved.