private async void PreviousButtonClick(object sender, RoutedEventArgs e)
 {
     try
     {
         await Session.TrySkipPreviousAsync();
     }
     catch (Exception) { }
 }
 protected override async void PreviousTrack()
 {
     try
     {
         await GSMTCSession?.TrySkipPreviousAsync();
     }
     catch { }
 }
Example #3
0
 public static IAsyncOperation <bool> SkipPrevious() => _smtc?.TrySkipPreviousAsync();
 public async Task <bool> prevTrack(GlobalSystemMediaTransportControlsSession session)
 {
     try { return(await session.TrySkipPreviousAsync()); }
     catch { return(false); }
 }