ConferenceAction() public static method

public static ConferenceAction ( String action ) : void
action String
return void
Exemplo n.º 1
0
        public void Deaf(bool undeaf = false)
        {
            String add = undeaf ? "un" : "";

            Conference.ConferenceAction(add + "deaf " + id);
            if (undeaf)
            {
                state ^= USER_STATE.DEAF;
            }
            else
            {
                state |= USER_STATE.DEAF;
            }
        }
Exemplo n.º 2
0
        public void Mute(bool unmute = false)
        {
            String add = unmute ? "un" : "";

            Conference.ConferenceAction(add + "mute " + id);
            if (unmute)
            {
                state ^= USER_STATE.MUTE;
            }
            else
            {
                state |= USER_STATE.MUTE;
            }
        }
Exemplo n.º 3
0
        public void SetAudioLevel(int level, bool conference_level = false)
        {
            if (level > 4 || level < -4)
            {
                return;
            }
            String direction = conference_level ? "volume_out" : "volume_in";

            Conference.ConferenceAction(direction + " " + id + " " + level);
            if (conference_level)
            {
                conference_volume = level;
            }
            else
            {
                their_volume = level;
            }
        }
Exemplo n.º 4
0
 public void SetEnergyLevel(int level)
 {
     Conference.ConferenceAction("energy " + id + " " + level);
     min_energy_level = level;
 }