public class ConferenceUpdater extends Updater<Conference>
Constructor and Description |
---|
ConferenceUpdater(String pathSid)
Construct a new ConferenceUpdater.
|
ConferenceUpdater(String pathAccountSid,
String pathSid)
Construct a new ConferenceUpdater.
|
Modifier and Type | Method and Description |
---|---|
ConferenceUpdater |
setAnnounceMethod(HttpMethod announceMethod)
The announce_method.
|
ConferenceUpdater |
setAnnounceUrl(String announceUrl)
The announce_url.
|
ConferenceUpdater |
setAnnounceUrl(URI announceUrl)
The announce_url.
|
ConferenceUpdater |
setStatus(Conference.UpdateStatus status)
Specifying `completed` will end the conference and kick all participants.
|
Conference |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ConferenceUpdater(String pathSid)
pathSid
- The sidpublic ConferenceUpdater setStatus(Conference.UpdateStatus status)
status
- Specifying completed will end the conference and kick all
participantspublic ConferenceUpdater setAnnounceUrl(URI announceUrl)
announceUrl
- The announce_urlpublic ConferenceUpdater setAnnounceUrl(String announceUrl)
announceUrl
- The announce_urlpublic ConferenceUpdater setAnnounceMethod(HttpMethod announceMethod)
announceMethod
- The announce_methodpublic Conference update(TwilioRestClient client)
update
in class Updater<Conference>
client
- TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.