Class ShadowDownloadManager.CompletedDownload

  • Enclosing class:
    ShadowDownloadManager

    public static class ShadowDownloadManager.CompletedDownload
    extends Object
    Value class to represent a "completed download" sent to DownloadManager using the addCompletedDownload APIs.
    • Constructor Detail

      • CompletedDownload

        public CompletedDownload​(String title,
                                 String description,
                                 boolean isMediaScannerScannable,
                                 String mimeType,
                                 String path,
                                 long length,
                                 boolean showNotification)
    • Method Detail

      • getTitle

        public String getTitle()
      • getDescription

        public String getDescription()
      • isMediaScannerScannable

        public boolean isMediaScannerScannable()
      • getMimeType

        public String getMimeType()
      • getPath

        public String getPath()
      • getLength

        public long getLength()
      • showNotification

        public boolean showNotification()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object