Example #1
0
 void mNativeEventsListener_onHoldEvent(object sender, SipHoldEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart) delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).HoldState = e.State;
         }
     });
 }
Example #2
0
 void mNativeEventsListener_onHoldEvent(object sender, SipHoldEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).HoldState = e.State;
         }
     });
 }