MCPcopy Create free account
hub / github.com/dinofizz/diskplayer / TransferPlayback

Method TransferPlayback

client.go:37–39  ·  view source on GitHub ↗

TransferPlayback will transfer the Spotify playback to the specified device.

(deviceID spotify.ID, play bool)

Source from the content-addressed store, hash-verified

35
36// TransferPlayback will transfer the Spotify playback to the specified device.
37func (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.
42func (sc *SpotifyClient) PlayOpt(opt *spotify.PlayOptions) error {

Callers

nothing calls this directly

Calls 1

TransferPlaybackMethod · 0.65

Tested by

no test coverage detected