| Constructor and Description |
|---|
SessionUpdater(String pathServiceSid,
String pathSid)
Construct a new SessionUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
SessionUpdater |
setParticipants(List<String> participants)
The participants.
|
SessionUpdater |
setParticipants(String participants)
The participants.
|
SessionUpdater |
setStatus(Session.Status status)
The Status of this Session.
|
SessionUpdater |
setTtl(Integer ttl)
How long will this session stay open, in seconds.
|
SessionUpdater |
setUniqueName(String uniqueName)
Provides a unique and addressable name to be assigned to this Session,
assigned by the developer, to be optionally used in addition to SID..
|
Session |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic SessionUpdater setUniqueName(String uniqueName)
uniqueName - A unique, developer assigned name of this Session.public SessionUpdater setTtl(Integer ttl)
ttl - How long will this session stay open, in seconds.public SessionUpdater setStatus(Session.Status status)
status - The Status of this Sessionpublic SessionUpdater setParticipants(List<String> participants)
participants - The participantspublic SessionUpdater setParticipants(String participants)
participants - The participantspublic Session update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.