# Print output for @column tags ?> DownloadManager.Query - Android SDK | Android Developers

Most visited


Recently visited


DownloadManager.Query

public static class DownloadManager.Query
extends Object

java.lang.Object
   ↳ android.app.DownloadManager.Query


This class may be used to filter download manager queries.

Summary


Public constructors

Query()

Public methods

DownloadManager.Query setFilterById(long... ids)

Include only the downloads with the given IDs.

DownloadManager.Query setFilterByStatus(int flags)

Include only downloads with status matching any the given status flags.

Inherited methods

Public constructors


Query

public Query ()

Public methods


setFilterById

public DownloadManager.Query setFilterById (long... ids)

Include only the downloads with the given IDs.

Parameters
ids long

Returns
DownloadManager.Query this object

setFilterByStatus

public DownloadManager.Query setFilterByStatus (int flags)

Include only downloads with status matching any the given status flags.

Parameters
flags int: any combination of the STATUS_* bit flags

Returns
DownloadManager.Query this object

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.