async void MediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e)
 {
     if (activePreloadOperation != null)
     {
         await activePreloadOperation.CancelAsync();
     }
 }
Example #2
0
 void mediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e)
 {
     if (ScrubStarted != null)
     {
         ScrubStarted(this, EventArgs.Empty);
     }
 }
 void mediaPlayer_ScrubbingStarted(object sender, ScrubRoutedEventArgs e)
 {
     if (ScrubStarted != null) ScrubStarted(this, EventArgs.Empty);
 }