示例#1
0
 void mNativeEventsListener_onAudioRoutingChanged(object sender, AudioRoutingEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart) delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).UpdateAudioButtons();
         }
     });
 }
示例#2
0
文件: BasePage.cs 项目: xolile/boghe
 void mNativeEventsListener_onAudioRoutingChanged(object sender, AudioRoutingEventArgs e)
 {
     this.Dispatcher.BeginInvoke((System.Threading.ThreadStart)delegate
     {
         if (mViewModel is CallStatusViewModel)
         {
             (mViewModel as CallStatusViewModel).UpdateAudioButtons();
         }
     });
 }