Example #1
0
 public override async void OnSelect()
 {
     if (!await SpotifyClient.GetInstance().IsCurrentlyPlaying())
     {
         await SpotifyClient.GetInstance().PlayPauseCurrentTrack();
     }
     _ = SpotifyClient.GetInstance().PlayItem(Uri);
 }
Example #2
0
 public override void OnSelect()
 {
     if (_keyword == "skip" || _keyword == "next")
     {
         SpotifyClient.GetInstance().NextTrack();
     }
     else
     {
         SpotifyClient.GetInstance().PreviousTrack();
     }
 }
Example #3
0
 public override void OnSelect()
 {
     _ = SpotifyClient.GetInstance().QueueItem(Uri);
 }
Example #4
0
 public override void OnSelect()
 {
     _ = SpotifyClient.GetInstance().PlayPauseCurrentTrack();
 }
Example #5
0
 public override void OnSelect()
 {
     SpotifyClient.GetInstance().PlayItem(Uri);
 }