public override async void OnSelect() { if (!await SpotifyClient.GetInstance().IsCurrentlyPlaying()) { await SpotifyClient.GetInstance().PlayPauseCurrentTrack(); } _ = SpotifyClient.GetInstance().PlayItem(Uri); }
public override void OnSelect() { if (_keyword == "skip" || _keyword == "next") { SpotifyClient.GetInstance().NextTrack(); } else { SpotifyClient.GetInstance().PreviousTrack(); } }
public override void OnSelect() { _ = SpotifyClient.GetInstance().QueueItem(Uri); }
public override void OnSelect() { _ = SpotifyClient.GetInstance().PlayPauseCurrentTrack(); }
public override void OnSelect() { SpotifyClient.GetInstance().PlayItem(Uri); }