Skip to main content

DrmOfflineState

Represents the offline DRM license state for a downloaded asset.

This state indicates whether an asset requires DRM license management for offline playback. It is returned by Download.getDrmOfflineState and the useDrmOfflineState hook, and is included in DownloadStateChangedDetails events.

Enumeration Members

Enumeration MemberValueDescription
DrmProtected"drmProtected"The content is DRM-protected. Use Download.storeOfflineDrmLicense to prefetch the license for offline playback and Download.deleteOfflineDrmLicense to remove it.
NoDrm"noDrm"The content is not DRM-protected. No license management is required and the downloaded asset can always be played back offline.