Inheritance: RoutedEventArgs, IRateChangedRoutedEventArgs
コード例 #1
0
 private void dmrVideo_RateChanged(object sender, Windows.UI.Xaml.Media.RateChangedRoutedEventArgs e)
 {
     if (IsReceiverStarted)
     {
         receiver.NotifyRateChange(dmrVideo.PlaybackRate);
     }
 }
コード例 #2
0
 void player_RateChanged(object sender, RateChangedRoutedEventArgs e)
 {
     player.IsThumbnailVisible = (player.IsScrubbing || player.PlaybackRate <= -1 || player.PlaybackRate > 1);
 }
コード例 #3
0
ファイル: MainPage.xaml.cs プロジェクト: noriike/xaml-106136
 private void VideoPlayer_RateChanged(object sender, RateChangedRoutedEventArgs e)
 {
     if (this.receiver != null)
     {
         this.receiver.NotifyRateChange(this.VideoPlayer.PlaybackRate);
     }
 }
コード例 #4
0
 void mediaPlayer_RateChanged(object sender, RateChangedRoutedEventArgs e)
 {
     if (!mediaPlayer.IsScrubbing)
     {
         if (playbackRate != mediaPlayer.PlaybackRate) // this prevents playback rate changes due to finishing a scrub.
         {
             playbackRate = mediaPlayer.PlaybackRate;
             if (PlaybackRateChanged != null) PlaybackRateChanged(this, EventArgs.Empty);
         }
     }
 }
コード例 #5
0
 private void RemoteVideo_RateChanged(object sender, RateChangedRoutedEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine("RemoteVideo_RateChanged");
 }