DownloadExpiryControllable

An internal Manager for Download assets. Takes care of managing download tasks and retrieving cached downloads. It provides additional internal methods for managing download expiry.

Inheritors

Functions

Link copied to clipboard
abstract fun invalidateDownloadExpiry(download: Download)

Invalidates the download expiry for a download.

Link copied to clipboard
abstract fun retrieveLicenseExpiry(downloadURL: String): Long

Retrieves the license expiry time for a download.

Link copied to clipboard
abstract fun retrievePlaybackRemaining(downloadURL: String): Long

Retrieves the remaining playback time for a download.

Link copied to clipboard
abstract fun storeLicenseExpiry(downloadURL: String, downloadExpiryMs: Long)

Stores the license expiry time for a download.