Offline

interface Offline

Playback info with some extra information for offline content. The extra information is needed to determine how the offline content was stored and how it can be retrieved, but also to actually being able to play that content. We currently have three different ways to store offline content, not all information is necessary at all times, therefore they come with default values that needs to be filled differently in each different scenario.

Inheritors

Types

Link copied to clipboard
data class Track(val track: PlaybackInfo.Track, val offlineLicense: String? = null, val storage: Storage? = null, val partiallyEncrypted: Boolean = false) : PlaybackInfo, PlaybackInfo.Offline

Playback info with track specific properties for offline.

Link copied to clipboard
data class Video(val video: PlaybackInfo.Video, val offlineLicense: String? = null, val storage: Storage? = null, val partiallyEncrypted: Boolean = false) : PlaybackInfo, PlaybackInfo.Offline

Playback info with video specific properties for offline.

Properties

Link copied to clipboard
abstract val offlineLicense: String?

The stored offlineLicense in case it is protected.

Link copied to clipboard

Information about legacy encryption strategy.

Link copied to clipboard
abstract val storage: Storage?

Information about storage and path.