Offline Content Manager
interface OfflineContentManager
Content copied to clipboard
Provides the means to download and store sources locally that can be played back with a Player without an active network connection. An OfflineContentManager instance can be created via the OfflineContentManager.getOfflineContentManager function.
Types
Properties
offlineSourceConfig
Link copied to clipboard
Creates an OfflineSourceConfig, which can be used to play the offline content with a Player or returns null, if no offline content is available.
remainingOfflineLicenseDuration
Link copied to clipboard
A DrmLicenseInformation object containing the remaining drm license duration and the remaining playback duration.
usedStorage
Link copied to clipboard
Functions
downloadLicense
Link copied to clipboard
getOptions
Link copied to clipboard
abstract fun getOptions()
Content copied to clipboard
Loads the current OfflineContentOptions and passes them to OfflineContentManagerListener.onOptionsAvailable.
process
Link copied to clipboard
Enqueues downloads and deletions according to the current OfflineOptionEntryState and OfflineOptionEntryAction of the OfflineOptionEntry in the OfflineContentOptions.
releaseLicense
Link copied to clipboard
abstract fun releaseLicense()
Content copied to clipboard
renewOfflineLicense
Link copied to clipboard
abstract fun renewOfflineLicense()
Content copied to clipboard