| Constructor and Description |
|---|
SessionCreator(String pathServiceSid)
Construct a new SessionCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
SessionCreator |
setParticipants(List<String> participants)
The participants.
|
SessionCreator |
setParticipants(String participants)
The participants.
|
SessionCreator |
setStatus(Session.Status status)
The Status of this Session.
|
SessionCreator |
setTtl(Integer ttl)
How long will this session stay open, in seconds.
|
SessionCreator |
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..
|
create, createAsync, createAsyncpublic SessionCreator(String pathServiceSid)
pathServiceSid - Service Sid.public SessionCreator setUniqueName(String uniqueName)
uniqueName - A unique, developer assigned name of this Session.public SessionCreator setTtl(Integer ttl)
ttl - How long will this session stay open, in seconds.public SessionCreator setStatus(Session.Status status)
status - The Status of this Sessionpublic SessionCreator setParticipants(List<String> participants)
participants - The participantspublic SessionCreator setParticipants(String participants)
participants - The participantspublic Session create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.