---
title: canProvidePersistableContentKey
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcontentkeyrequest/canprovidepersistablecontentkey
---

# canProvidePersistableContentKey

The content key request used to create a persistable content key or respond to a previous request with a persistable content key.

## Declaration

```swift
var canProvidePersistableContentKey: Bool { get }
```

## Discussion

Discussion The value of this property is automatically set to YES when the receiver is provided to the content key session’s delegate via the contentKeySession(_:didProvide:) method. When this property is set to YES, the persistableContentKey(fromKeyVendorResponse:options:) method can be used to create a persistable content key from the response. When this property is set to NO and there is a request for a persistable content key, send the respondByRequestingPersistableContentKeyRequest() method.

## See Also

### Getting content key request properties

- [identifier](avfoundation/avcontentkeyrequest/identifier.md)
- [originatingRecipient](avfoundation/avcontentkeyrequest/originatingrecipient.md)
- [error](avfoundation/avcontentkeyrequest/error.md)
- [initializationData](avfoundation/avcontentkeyrequest/initializationdata.md)
- [renewsExpiringResponseData](avfoundation/avcontentkeyrequest/renewsexpiringresponsedata.md)
- [status](avfoundation/avcontentkeyrequest/status-swift.property.md)
- [AVContentKeyRequest.Status](avfoundation/avcontentkeyrequest/status-swift.enum.md)
