Edit

Share via


IAVContentKeySessionDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol AVContentKeySessionDelegate.

[Foundation.Protocol(Name="AVContentKeySessionDelegate", WrapperType=typeof(AVFoundation.AVContentKeySessionDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IAVContentKeySessionDelegate : IDisposable, ObjCRuntime.INativeObject
type IAVContentKeySessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by AVContentKeySessionDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the AVContentKeySessionDelegate protocol.

Optional methods (if any) are provided by the AVContentKeySessionDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

DidProvideContentKeyRequest(AVContentKeySession, AVContentKeyRequest)

Extension 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