OfflinePlaybackInfoProvider

An interface for getting track or video playback info from local storage.

Functions

Link copied to clipboard
abstract suspend fun getOfflineTrackPlaybackInfo(trackId: Int, streamingSessionId: String): PlaybackInfo

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

Link copied to clipboard
abstract suspend fun getOfflineVideoPlaybackInfo(videoId: Int, streamingSessionId: String): PlaybackInfo

Returns a PlaybackInfo which we can use for offline playback of a video.