Share via


IAVContentKeySessionDelegate Interface

Definition

This interface represents the Objective-C protocol AVContentKeySessionDelegate.

[Foundation.Protocol(Name="AVContentKeySessionDelegate", WrapperType=typeof(AVFoundation.AVContentKeySessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidProvideContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:didProvideContentKeyRequest:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvideRenewingContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:didProvideRenewingContentKeyRequest:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvidePersistableContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVPersistableContentKeyRequest) }, Selector="contentKeySession:didProvidePersistableContentKeyRequest:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFail", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest), typeof(Foundation.NSError) }, Selector="contentKeySession:contentKeyRequest:didFailWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRetryContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="contentKeySession:shouldRetryContentKeyRequest:reason:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession) }, Selector="contentKeySessionContentProtectionSessionIdentifierDidChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(Foundation.NSData), typeof(Foundation.NSObject) }, Selector="contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSucceed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:contentKeyRequestDidSucceed:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidGenerateExpiredSessionReport", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession) }, Selector="contentKeySessionDidGenerateExpiredSessionReport:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvideContentKeyRequests", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest[]), typeof(Foundation.NSData) }, Selector="contentKeySession:didProvideContentKeyRequests:forInitializationData:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExternalProtectionStatusDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKey) }, Selector="contentKeySession:externalProtectionStatusDidChangeForContentKey:")]
public interface IAVContentKeySessionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="AVContentKeySessionDelegate", WrapperType=typeof(AVFoundation.AVContentKeySessionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidProvideContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:didProvideContentKeyRequest:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvideRenewingContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:didProvideRenewingContentKeyRequest:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvidePersistableContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVPersistableContentKeyRequest) }, Selector="contentKeySession:didProvidePersistableContentKeyRequest:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidFail", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest), typeof(Foundation.NSError) }, Selector="contentKeySession:contentKeyRequest:didFailWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRetryContentKeyRequest", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="contentKeySession:shouldRetryContentKeyRequest:reason:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChange", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession) }, Selector="contentKeySessionContentProtectionSessionIdentifierDidChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(Foundation.NSData), typeof(Foundation.NSObject) }, Selector="contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidSucceed", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest) }, Selector="contentKeySession:contentKeyRequestDidSucceed:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidGenerateExpiredSessionReport", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession) }, Selector="contentKeySessionDidGenerateExpiredSessionReport:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProvideContentKeyRequests", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKeyRequest[]), typeof(Foundation.NSData) }, Selector="contentKeySession:didProvideContentKeyRequests:forInitializationData:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ExternalProtectionStatusDidChange", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVFoundation.AVContentKeySession), typeof(AVFoundation.AVContentKey) }, Selector="contentKeySession:externalProtectionStatusDidChangeForContentKey:")>]
type IAVContentKeySessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

DidChange(AVContentKeySession)
DidFail(AVContentKeySession, AVContentKeyRequest, NSError)
DidGenerateExpiredSessionReport(AVContentKeySession)
DidProvideContentKeyRequest(AVContentKeySession, AVContentKeyRequest)
DidProvideContentKeyRequests(AVContentKeySession, AVContentKeyRequest[], NSData)
DidProvidePersistableContentKeyRequest(AVContentKeySession, AVPersistableContentKeyRequest)
DidProvideRenewingContentKeyRequest(AVContentKeySession, AVContentKeyRequest)
DidSucceed(AVContentKeySession, AVContentKeyRequest)
DidUpdate(AVContentKeySession, NSData, NSObject)

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

ExternalProtectionStatusDidChange(AVContentKeySession, AVContentKey)
ShouldRetryContentKeyRequest(AVContentKeySession, AVContentKeyRequest, String)

Extension Methods

DidChange(IAVContentKeySessionDelegate, AVContentKeySession)
DidFail(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, NSError)
DidGenerateExpiredSessionReport(IAVContentKeySessionDelegate, AVContentKeySession)
DidProvideContentKeyRequests(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest[], NSData)
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.

ExternalProtectionStatusDidChange(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKey)
ShouldRetryContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, String)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to