Esempio n. 1
0
        private void btnParticipantDrop_Click(object sender, EventArgs e)
        {
            if (conferenceInProgress != null)
            {
                if (cbParticipantsList.SelectedIndex < conferenceInProgress.Participants.Count)
                {
                    Conference.Participant participant = conferenceInProgress.Participants[cbParticipantsList.SelectedIndex];

                    rainbowBubbles.ConferenceDropParticipant(conferenceInProgress.Id, participant.Id, callback =>
                    {
                        if (callback.Result.Success)
                        {
                            AddStateLine(String.Format("Personal Conference - Drop Participant done"));
                        }
                        else
                        {
                            AddStateLine("Pb to Drop Participant ...");
                            log.LogDebug("Pb to Drop Participant - error:[{0}]", Util.SerializeSdkError(callback.Result));
                        }
                    });
                }
            }
        }