IAVContentKeySessionDelegate 接口

定义

表示所需方法的接口 ((如果协议 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
派生
属性
实现

注解

此接口包含所需的方法 ((如果任何) 由 AVContentKeySessionDelegate定义的协议)。

如果开发人员创建实现此接口的类,则实现方法将自动导出到 Objective-C,并使用协议中 AVContentKeySessionDelegate 定义的方法的匹配签名。

可选方法 (类是否提供 AVContentKeySessionDelegate_Extensions 任何) 作为接口的扩展方法,从而允许开发人员在协议上调用任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

方法

DidProvideContentKeyRequest(AVContentKeySession, AVContentKeyRequest)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

扩展方法

DidChange(IAVContentKeySessionDelegate, AVContentKeySession)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidFail(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, NSError)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidGenerateExpiredSessionReport(IAVContentKeySessionDelegate, AVContentKeySession)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidProvidePersistableContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVPersistableContentKeyRequest)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidProvideRenewingContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidSucceed(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

DidUpdate(IAVContentKeySessionDelegate, AVContentKeySession, NSData, NSObject)

开发人员可以重写此方法,以处理对使用指定的 keyIdentifier发出的更新persistableContentKey的请求。

ShouldRetryContentKeyRequest(IAVContentKeySessionDelegate, AVContentKeySession, AVContentKeyRequest, String)

表示所需方法的接口 ((如果协议 AVContentKeySessionDelegate有任何) )。

适用于