Пример #1
0
 private async void MediaPlayer_MediaFailed(Windows.Media.Playback.MediaPlayer sender, Windows.Media.Playback.MediaPlayerFailedEventArgs args)
 {
     await AssociatedObject.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
     {
         MediaCommand?.Execute(ResultMediaPlayer.Failed);
     });
 }
Пример #2
0
 private void CurrentPlayer_MediaFailed(Windows.Media.Playback.MediaPlayer sender, Windows.Media.Playback.MediaPlayerFailedEventArgs args)
 {
 }