setOfflinePlaybackLicenseKey

open fun setOfflinePlaybackLicenseKey(licenseKeySetId: Array<Byte>)

Sets the key set identifier for the current offline playback license for this video, if any. This method exists so that the license key set identifier can be accessed conveniently from the associated video object. Setting or clearing the license key set identifier directly using this method will not grant or release the offline playback license.

This method can be called only by methods within the SDK that have explicit permission.

Parameters

licenseKeySetId

null if the video has no offline playback license, otherwise the license key identifier.

Throws

if the caller is not permitted to call this method.