NoOpLicenseHandler

A NO-OP LicenseHandler that does nothing in case of Clear Content Downloads

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun downloadLicense(downloadRequest: DownloadRequest, downloadHelper: DownloadHelper): ByteArray

Attempts to download a license.

Link copied to clipboard
open suspend override fun purgeLicense(download: Download): Result<Unit, Error>

Purges the license for a given download asset.

Link copied to clipboard
open suspend override fun renewLicense(download: Download): Result<ByteArray, Error>

Renews the license for a given download asset.

Link copied to clipboard
open suspend override fun requestLicenseInfo(download: Download): Result<LicenseInfo, Error>

Requests the license info for a given download asset.