OfflineLicenseManager

Offline license helper can be used to download, renew and release offline playback licenses.

Author

rsubramaniam

Constructors

Link copied to clipboard
constructor(mediaDrm: Provider, callback: MediaDrmCallback, optionalKeyRequestParameters: HashMap<String, String>, drmSessionEventDispatcher: EventDispatcher)
Deprecated.

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
open fun downloadLicense(manifestUriString: String, customerRightsToken: CustomerRightsToken): Array<Byte>
Link copied to clipboard
open fun getDrmError(): DrmException
Link copied to clipboard
Link copied to clipboard
open fun getPropertyByteArray(propertyName: String): Array<Byte>
Link copied to clipboard
open fun getPropertyString(propertyName: String): String
Link copied to clipboard
open fun getRemainingLicenseDuration(licenseKeySetId: Array<Byte>): Pair<Long, Long>
Link copied to clipboard
Link copied to clipboard
open fun releaseLicense(licenseKeySetId: Array<Byte>)
Link copied to clipboard
open fun releaseResources()
Link copied to clipboard
open fun renewLicense(licenseKeySetId: Array<Byte>): Array<Byte>
Link copied to clipboard
open fun setPropertyByteArray(propertyName: String, value: Array<Byte>)
Link copied to clipboard
open fun setPropertyString(propertyName: String, value: String)