예제 #1
0
        private void MainThread_OnPhoneStatus(BriaAPI.PhoneStatusEventArgs args)
        {
            m_IsPhoneReady         = args.IsReady;
            m_AreCallsAllowed      = args.CallsAllowed;
            m_ErrorCode            = args.ErrorCode;
            m_MaxLines             = args.MaxLines;
            m_CallNotAllowedReason = args.CallsNotAllowedReason;
            m_AccountStatus        = args.AccountStatus;

            UpdatePhoneState();
        }
예제 #2
0
 private void OnPhoneStatus(object sender, BriaAPI.PhoneStatusEventArgs args)
 {
     this.BeginInvoke(onPhoneStatusDelegate, new Object[] { args });
 }