public class Conference extends Verb
| Modifier and Type | Class and Description |
|---|---|
static class |
Conference.Record
Values for the record attribute
|
static class |
Conference.Trim
Values for the trim attribute
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BEEP_FALSE |
static String |
BEEP_ONENTER |
static String |
BEEP_ONEXIT |
static String |
BEEP_TRUE |
| Constructor and Description |
|---|
Conference(String name)
Instantiates a new conference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setBeep(Boolean bool)
Sets the beep behavior (the legacy way)
true - beep on enter and exit
false - no beep
|
void |
setBeep(String value)
Sets the beep behavior.
|
void |
setEndConferenceOnExit(Boolean bool)
Sets the end conference on exit.
|
void |
setEventCallbackUrl(String eventCallbackUrl)
Sets a URL that Twilio will POST to when the conference ends.
|
void |
setMaxParticipants(int i)
Sets the maximum number of participants you want to allow
|
void |
setMuted(Boolean bool)
Sets the muted.
|
void |
setRecord(Conference.Record record)
Sets the record attribute on the conference.
|
void |
setRecord(String record)
Sets the record attribute on the conference.
|
void |
setStartConferenceOnEnter(Boolean bool)
Sets the start conference on enter.
|
void |
setTrim(Conference.Trim trim)
Sets the trim value for recordings of the conference.
|
void |
setTrim(String trim)
Sets the trim value for recordings of the conference.
|
void |
setWaitMethod(String method)
Sets the wait method.
|
void |
setWaitUrl(String url)
Sets the wait url.
|
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic static final String BEEP_TRUE
public static final String BEEP_FALSE
public static final String BEEP_ONEXIT
public static final String BEEP_ONENTER
public Conference(String name)
name - the namepublic void setMuted(Boolean bool)
bool - the new mutedpublic void setBeep(String value)
value - the new beep behaviorpublic void setBeep(Boolean bool)
bool - the new beep behaviorpublic void setStartConferenceOnEnter(Boolean bool)
bool - the new start conference on enterpublic void setEndConferenceOnExit(Boolean bool)
bool - the new end conference on exitpublic void setWaitMethod(String method)
method - the new wait methodpublic void setWaitUrl(String url)
url - the new wait urlpublic void setMaxParticipants(int i)
i - the new maxParticipants valuepublic void setRecord(Conference.Record record)
record - one of the Conference.Record valuespublic void setRecord(String record)
record - value of the record attributepublic void setTrim(Conference.Trim trim)
trim - one of the Conference.Trim valuespublic void setTrim(String trim)
trim - value of the trim attributepublic void setEventCallbackUrl(String eventCallbackUrl)
eventCallbackUrl - Copyright © 2011 Twilio, Inc. All Rights Reserved.