---
title: MusicUnderstandingError.hasProtectedContent
framework: musicunderstanding
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: musicunderstanding/musicunderstandingerror/hasprotectedcontent
---

# MusicUnderstandingError.hasProtectedContent

The error that occurs when a session is initialized with an AVAsset whose content is protected by DRM and cannot be decoded for analysis.

## Declaration

```swift
case hasProtectedContent
```
