Ejemplo n.º 1
0
        //Functions

        public Telephone(TelephoneState initialState, MicrophoneState micstate)
        {
            micState_        = micstate;
            state_           = initialState;
            DigitBtnEvent   += DigitBtnPresed;
            CallBtnEvent    += CallBtnPressed;
            DisconnectEvent += Disconnect;
            MuteBtnEvent    += MuteBtnPressed;
        }
Ejemplo n.º 2
0
 public void SetStateMicrphone(MicrophoneState state)
 {
     micState_ = state;
     micState_.OnEnter(this);
 }