public class Conference extends BaseModelObject
Modifier and Type | Class and Description |
---|---|
class |
Conference.ConferenceAudioBuilder |
client
dateFormat, properties
Constructor and Description |
---|
Conference(BandwidthRestClient 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(BandwidthRestClient client,
Map<String,Object> params)
Factory method to create a conference given a set of params and a client object
|
static Conference |
createConference(Map<String,Object> params)
Factory method to create a conference given a set of params
|
Long |
getActiveMembers() |
Long |
getCallbackTimeout() |
String |
getCallbackUrl() |
Date |
getCompletedTime() |
static Conference |
getConference(BandwidthRestClient client,
String id)
Retrieves the conference information.
|
static Conference |
getConference(String id)
Retrieves the conference information.
|
Date |
getCreatedTime() |
String |
getFallbackUrl() |
String |
getFrom() |
List<ConferenceMember> |
getMembers()
Gets list all members from a conference.
|
String |
getState() |
protected String |
getUri() |
void |
mute()
Prevent all members from speaking.
|
String |
toString() |
getClient
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updateProperties
public Conference(BandwidthRestClient client, org.json.simple.JSONObject jsonObject)
public static Conference getConference(String id) throws IOException
id
- conference idIOException
public static Conference getConference(BandwidthRestClient client, String id) throws IOException
id
- conference idIOException
public static Conference createConference(Map<String,Object> params) throws IOException
params
- IOException
public static Conference createConference(BandwidthRestClient client, Map<String,Object> params) throws IOException
params
- IOException
protected String getUri()
getUri
in class BaseModelObject
public String getFrom()
public String getCallbackUrl()
public String getFallbackUrl()
public String getState()
public Long getActiveMembers()
public Long getCallbackTimeout()
public Date getCompletedTime()
public Date getCreatedTime()
public void complete() throws IOException
IOException
public void mute() throws IOException
IOException
public List<ConferenceMember> getMembers() throws IOException
IOException
public Conference.ConferenceAudioBuilder conferenceAudioBuilder()
conference.conferenceAudioBuilder().fileUrl("url_to_file").create();
Copyright © 2014. All Rights Reserved.