Class ShadowDownloadManager.ShadowRequest

  • Enclosing class:
    ShadowDownloadManager

    @Implements(android.app.DownloadManager.Request.class)
    public static class ShadowDownloadManager.ShadowRequest
    extends java.lang.Object
    • Constructor Detail

      • ShadowRequest

        public ShadowRequest()
    • Method Detail

      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • getUri

        public android.net.Uri getUri()
      • getDestination

        public android.net.Uri getDestination()
      • getTitle

        public java.lang.CharSequence getTitle()
      • getDescription

        public java.lang.CharSequence getDescription()
      • getMimeType

        public java.lang.CharSequence getMimeType()
      • getNotificationVisibility

        public int getNotificationVisibility()
      • getAllowedNetworkTypes

        public int getAllowedNetworkTypes()
      • getAllowedOverRoaming

        public boolean getAllowedOverRoaming()
      • getAllowedOverMetered

        public boolean getAllowedOverMetered()
      • getVisibleInDownloadsUi

        public boolean getVisibleInDownloadsUi()
      • getRequestHeaders

        public java.util.List<android.util.Pair<java.lang.String,​java.lang.String>> getRequestHeaders()
      • setDestinationInExternalPublicDir

        @Implementation
        protected android.app.DownloadManager.Request setDestinationInExternalPublicDir​(java.lang.String dirType,
                                                                                        java.lang.String subPath)
                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception