OGDownload
Immutable snapshot of one download. Obtain from OGDownloadManager.downloads / OGDownloadManager.getDownload; a new snapshot is delivered on every OGDownloadListener callback.
Properties
Persistent-license facts, or null for clear (non-DRM) content.
0..100, or -1 while the size is still unknown.
Stored scrub-thumbnail track, restored onto toMediaItem.
The media URL — the download's identity, and the URL OGPlayer.load matches for offline playback.
Functions
A playable OGMediaItem for this download. Loading it plays from local storage — offline, without any license request for DRM'd content (the stored persistent license is used). Re-attach the original DrmConfig via OGMediaItem.Builder.setDrm only when the app wants automatic fallback to a streaming license (e.g. after offline-license expiry, while online).