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 toDownloadManager
using 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 boolean
equals(Object o)
String
getDescription()
long
getLength()
String
getMimeType()
String
getPath()
Uri
getReferrer()
String
getTitle()
Uri
getUri()
int
hashCode()
boolean
isMediaScannerScannable()
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()
-
-