OGPlayer React Native SDK
    Preparing search index...

    Interface OGDownload

    Immutable snapshot of one offline download, keyed by its media URL — the same URL the player uses for transparent offline pickup: loading an OGMediaItem whose url has a COMPLETED download plays from local storage automatically, no code change.

    interface OGDownload {
        bytesDownloaded: number;
        license: OfflineLicenseInfo | null;
        posterUrl: string | null;
        progressPercent: number;
        state: OGDownloadState;
        thumbnailTrackUrl?: string | null;
        title: string | null;
        url: string;
    }
    Index
    bytesDownloaded: number
    license: OfflineLicenseInfo | null

    Persistent-license info; null for clear (non-DRM) content.

    posterUrl: string | null
    progressPercent: number

    0–100; -1 while unknown.

    thumbnailTrackUrl?: string | null

    Stored scrub-thumbnail track URL, if the item had one.

    title: string | null
    url: string

    The media URL — the download's identity.