Class DownloadInfo

  • All Implemented Interfaces:

    
    public final class DownloadInfo
    
                        

    Media file download information.

    Contains download progress details for resumable file downloads, including the file path, download URL, file size, and current download status.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      DownloadInfo(String tag, String filePath, String url, Long length, Boolean isDownloading, Boolean isFinished, Long currentLength, Integer progress)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • DownloadInfo

        DownloadInfo(String tag, String filePath, String url, Long length, Boolean isDownloading, Boolean isFinished, Long currentLength, Integer progress)
        Parameters:
        tag - unique identifier for the file
        filePath - local file path where the download is stored
        url - the download URL
        length - total file size in bytes
        isDownloading - whether the file is currently being downloaded
        isFinished - whether the download has completed
        currentLength - number of bytes downloaded so far
        progress - current download progress (0–100)