Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Interface IDownloadsAPIExtension

    interface IDownloadsAPIExtension {
        pauseDownload?: (downloadId: string) => Promise<void>;
        removeDownload?: (
            downloadId: string,
            options?: IDownloadRemoveOptions,
        ) => Promise<void>;
        resumeDownload?: (
            downloadId: string,
            options?: IStartDownloadOptions,
        ) => Promise<void>;
        startDownload?: (
            urls: string[],
            modInfo: any,
            fileName: string,
            redownload?: RedownloadMode,
            options?: IStartDownloadOptions,
        ) => Promise<IDownloadResult>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    pauseDownload?: (downloadId: string) => Promise<void>
    removeDownload?: (
        downloadId: string,
        options?: IDownloadRemoveOptions,
    ) => Promise<void>
    resumeDownload?: (
        downloadId: string,
        options?: IStartDownloadOptions,
    ) => Promise<void>
    startDownload?: (
        urls: string[],
        modInfo: any,
        fileName: string,
        redownload?: RedownloadMode,
        options?: IStartDownloadOptions,
    ) => Promise<IDownloadResult>