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

Method Pause

client.go:32–34  ·  view source on GitHub ↗

Pause will pause playback for the currently active device.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

PauseMethod · 0.65

Tested by

no test coverage detected