TransferPlayback will transfer the Spotify playback to the specified device.
(deviceID spotify.ID, play bool)
| 35 | |
| 36 | // TransferPlayback will transfer the Spotify playback to the specified device. |
| 37 | func (sc *SpotifyClient) TransferPlayback(deviceID spotify.ID, play bool) error { |
| 38 | return sc.client.TransferPlayback(deviceID, play) |
| 39 | } |
| 40 | |
| 41 | // PlayOpt will initiate playback on the device as specified in the PlayOptions. |
| 42 | func (sc *SpotifyClient) PlayOpt(opt *spotify.PlayOptions) error { |
nothing calls this directly
no test coverage detected