public class Participant extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
Participant(TwilioRestClient client)
Instantiates a new participant.
|
Participant(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new participant.
|
Participant(TwilioRestClient client,
String conferenceSid,
String callSid)
Instantiates a new participant.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountSid()
Gets the account sid.
|
String |
getCallSid()
Gets the call sid.
|
String |
getConferenceSid()
Gets the conference sid.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
boolean |
isEndConferenceOnExit()
Checks if is end conference on exit.
|
boolean |
isMuted()
Checks if is muted.
|
boolean |
isStartConferenceOnEnter()
Checks if is start conference on enter.
|
boolean |
kick()
Kick.
|
Participant |
mute()
Mute.
|
Participant |
unmute()
Unmute.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic Participant(TwilioRestClient client)
client - the clientpublic Participant(TwilioRestClient client, String conferenceSid, String callSid)
client - the clientconferenceSid - the conference sidcallSid - the call sidpublic Participant(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getConferenceSid()
public String getCallSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public boolean isMuted()
public boolean isStartConferenceOnEnter()
public boolean isEndConferenceOnExit()
public Participant mute() throws TwilioRestException
TwilioRestException - the twilio rest exceptionpublic Participant unmute() throws TwilioRestException
TwilioRestException - the twilio rest exceptionpublic boolean kick()
throws TwilioRestException
TwilioRestException - the twilio rest exceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.