Contents

canProvidePersistableContentKey

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

Declaration

var canProvidePersistableContentKey: Bool { get }

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