Pause will pause playback for the currently active device.
()
| 30 | |
| 31 | // Pause will pause playback for the currently active device. |
| 32 | func (sc *SpotifyClient) Pause() error { |
| 33 | return sc.client.Pause() |
| 34 | } |
| 35 | |
| 36 | // TransferPlayback will transfer the Spotify playback to the specified device. |
| 37 | func (sc *SpotifyClient) TransferPlayback(deviceID spotify.ID, play bool) error { |