getTrackPlaybackInfo

abstract suspend fun getTrackPlaybackInfo(trackId: Int, audioQuality: AudioQuality, playbackMode: PlaybackMode, streamingSessionId: String, playlistUuid: String? = null): PlaybackInfo

Returns a PlaybackInfo which we can use for playback of a track.

Parameters

trackId

The requested track id as Int.

audioQuality

The requested audio quality as AudioQuality.

playbackMode

The requested playback mode as PlaybackMode.

streamingSessionId

The streaming session uuid as String, created by the client, for this streaming session.

playlistUuid

The playlistUuid this play originates from as String. May be null.