pausePlayback

suspend fun pausePlayback(deviceId: String? = null): SpotifyApiResponse<Boolean>

Pauses playback on a Spotify Connect device.

Return

Wrapped Spotify API response. data is true when Spotify accepted the operation.

Parameters

deviceId

Spotify Connect device ID that should execute the playback action.