Package-level declarations

Types

Link copied to clipboard

What is known about a download's persistent (offline) DRM license.

Link copied to clipboard

Immutable snapshot of one download. Obtain from OGDownloadManager.downloads / OGDownloadManager.getDownload; a new snapshot is delivered on every OGDownloadListener callback.

Link copied to clipboard

Per-download options for OGDownloadManager.add.

Link copied to clipboard

Download lifecycle callbacks. All methods have empty defaults and are dispatched on the application main thread.

Link copied to clipboard

Download-to-go: persists media (and, for DRM'd items, a persistent offline license) so it plays without a network connection.

Link copied to clipboard

Entry point for download-to-go.

Link copied to clipboard

Global downloads configuration, applied via OGDownloads.initialize.

Link copied to clipboard

Lifecycle state of a download.

Link copied to clipboard
data class OGDownloadStrings(val downloading: String = "Downloading", val downloadingItemsOne: String = "Downloading 1 item", val downloadingItems: String = "Downloading {count} items")

The download notification's text, English by default; set it via OGDownloadsConfig.Builder.setStrings. The keys are the download keys of the player chrome's strings — with the UI module, OGStrings.toDownloadStrings() fills this from the same map. {count} is replaced verbatim.