Skip to main content
Skip table of contents

Deleting a download

Licence keys for PRM-protected downloaded content are stored with the PAK library rather than the download database. You are advised to delete the licence when deleting the download item. The parameters for removing the licence are stored within the OTVDownloadItem instance and must be retrieved before deleting the content.

JAVA
OTVDownloadItem item = mDlManager.getDownloadByUUID(uuid);
mPrmManager.removeLicense(item.getAsset().getPRMSyntax(), item.getAsset().getPRMContentId());

The following removes a download entry from the persistent database and any downloaded data or licence keys from the persistent storage.

JAVA
mDlManager.removeDownload(uuid);

OTVDownloadManager removes the relevant OTVDownloadItem instance from the database and clears the storage associated with it.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.