Szerkesztés

Megosztás a következőn keresztül:


AVContentKeySessionDelegate_Extensions Class

Definition

Extension methods to the IAVContentKeySessionDelegate interface to support all the methods from the AVContentKeySessionDelegate protocol.

public static class AVContentKeySessionDelegate_Extensions
type AVContentKeySessionDelegate_Extensions = class
Inheritance
AVContentKeySessionDelegate_Extensions

Remarks

The extension methods for IAVContentKeySessionDelegate allow developers to treat instances of the interface as having all the optional methods of the original AVContentKeySessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidChange(IAVContentKeySessionDelegate, AVContentKeySession)
DidFail(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, NSError)
DidGenerateExpiredSessionReport(IAVContentKeySessionDelegate, AVContentKeySession)
DidProvidePersistableContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVPersistableContentKeyRequest)
DidProvideRenewingContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest)
DidSucceed(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest)
DidUpdate(IAVContentKeySessionDelegate, AVContentKeySession, NSData, NSObject)

Developers may override this method to handle a request for a an updated persistableContentKey that was made with the specified keyIdentifier.

ShouldRetryContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, String)

Applies to