From 3af80dc6d937fb95cab544417e75f5aadc595690 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Tue, 16 Feb 2010 12:38:38 -0800 Subject: Expose more Download Manager APIs. This will allow apps to track download progress. Change-Id: Id6b77c0fc01b4838fca45e2fe241b1ea08e65038 --- core/java/android/net/Downloads.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'core/java') diff --git a/core/java/android/net/Downloads.java b/core/java/android/net/Downloads.java index a794af2..07ee9e1 100644 --- a/core/java/android/net/Downloads.java +++ b/core/java/android/net/Downloads.java @@ -296,21 +296,24 @@ public final class Downloads { } /** - * @pending + * The column for the id in the Cursor returned by + * {@link #getProgressCursor()} */ public static final int getProgressColumnId() { return 0; } /** - * @pending + * The column for the current byte count in the Cursor returned by + * {@link #getProgressCursor()} */ public static final int getProgressColumnCurrentBytes() { return 1; } /** - * @pending + * The column for the total byte count in the Cursor returned by + * {@link #getProgressCursor()} */ public static final int getProgressColumnTotalBytes() { return 2; @@ -324,7 +327,7 @@ public final class Downloads { }; /** - * @pending + * Returns a Cursor representing the progress of the download identified by the ID. */ public static final Cursor getProgressCursor(Context context, long id) { Uri downloadUri = Uri.withAppendedPath(android.provider.Downloads.Impl.CONTENT_URI, -- cgit v1.1