Package org.robolectric.shadows
Class ShadowDownloadManager.CompletedDownload
java.lang.Object
org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- Enclosing class:
- ShadowDownloadManager
Value class to represent a "completed download" sent to
DownloadManager
using the
addCompletedDownload APIs.-
Constructor Summary
ConstructorDescriptionCompletedDownload
(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
-
Constructor Details
-
CompletedDownload
-
CompletedDownload
-
-
Method Details
-
getTitle
-
getDescription
-
isMediaScannerScannable
public boolean isMediaScannerScannable() -
getMimeType
-
getPath
-
getLength
public long getLength() -
showNotification
public boolean showNotification() -
getUri
-
getReferrer
-
equals
-
hashCode
public int hashCode()
-