OGPlayer React Native SDK
    Preparing search index...

    Type Alias OGDownloadEvent

    OGDownloadEvent:
        | { download: OGDownload; type: "stateChanged" }
        | { download: OGDownload; type: "progress" }
        | { download: OGDownload; error: OGPlayerError; type: "failed" }

    One downloads event delivered to OGDownloads.addListener: stateChanged on any state transition, progress (throttled) while downloading, failed with the mirrored OGPlayerError (codes 7100 DOWNLOAD_FAILED, 7101 DOWNLOAD_STORAGE_FULL, 7102 DOWNLOAD_LICENSE_FETCH_FAILED; 4006 DRM_OFFLINE_LICENSE_EXPIRED at playback time).