Exemplo n.º 1
0
 void mNativeEventsListener_onAudioRoutingChanged(object sender, AudioRoutingEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart) delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).UpdateAudioButtons();
         }
     });
 }
Exemplo n.º 2
0
 void mNativeEventsListener_onAudioRoutingChanged(object sender, AudioRoutingEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).UpdateAudioButtons();
         }
     });
 }