updateDownloadId

open fun updateDownloadId(key: Long, downloadId: Long): Boolean

Sets the download identifier for the request with the specified primary key.

Return

true if the entity was found and updated, otherwise false.

Parameters

key

the primary key of the request to be updated.

downloadId

the unique identifier to the download request in the android.app.DownloadManager