예제 #1
0
 /// <summary>
 /// This function won't work properly since the <see cref="GlobalSystemMediaTransportControlsSession.TryChangePlaybackPositionAsync(long)"/>
 /// is un-reliable
 /// </summary>
 /// <param name="playbackPosition"></param>
 protected override async void PlaybackPositionChanged(TimeSpan playbackPosition)
 {
     try
     {
         await GSMTCSession?.TryChangePlaybackPositionAsync((long)TimelineEndTime.TotalMilliseconds);
     }
     catch { }
 }