---
title: hasProtectedContent
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avpartialasyncproperty/hasprotectedcontent
---

# hasProtectedContent

A Boolean value that indicates whether the asset contains protected content.

## Declaration

```swift
static var hasProtectedContent: AVAsyncProperty<Root, Bool> { get }
```

## Discussion

Discussion Use the load(_:isolation:) method to retrieve the property value. Assets that contain protected content may not be playable without successful authorization, even if the value of its isPlayable property is true.
