Package org.robolectric.shadows
Class ShadowDownloadManager.CompletedDownload
- java.lang.Object
-
- org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
-
- Enclosing class:
- ShadowDownloadManager
public static class ShadowDownloadManager.CompletedDownload extends Object
Value class to represent a "completed download" sent toDownloadManagerusing the addCompletedDownload APIs.
-
-
Constructor Summary
Constructors Constructor Description CompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification)CompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, Uri uri, Uri referrer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescription()longgetLength()StringgetMimeType()StringgetPath()UrigetReferrer()StringgetTitle()UrigetUri()inthashCode()booleanisMediaScannerScannable()booleanshowNotification()
-
-
-
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()
-
-