Package com.twilio.sdk.resource.list

Examples of com.twilio.sdk.resource.list.ParticipantList


    params.put("VoiceUrl", "http://demo.twilio.com/welcome/voice/");
    mainAccount.getIncomingPhoneNumberFactory().create(params);

    // View a conference using it's sid
    Conference c = mainAccount.getConference("CA12345...");
    ParticipantList participants = c.getParticipants();

    for (Participant p : participants) {
      // Randomly mute or kick each participant
      if (Math.random() > 0.5) {
        p.mute();
View Full Code Here


  /**
   * Get the participant list
   *
   */
  public ParticipantList getParticipants() {
    ParticipantList list = new ParticipantList(this.getClient(), this.getSid());
    list.setRequestAccountSid(this.getRequestAccountSid());
    return list;
  }
View Full Code Here

TOP

Related Classes of com.twilio.sdk.resource.list.ParticipantList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.