AVContentKeySessionDelegate_Extensions.DidUpdate 方法

定义

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidUpdate (this AVFoundation.IAVContentKeySessionDelegate This, AVFoundation.AVContentKeySession session, Foundation.NSData persistableContentKey, Foundation.NSObject keyIdentifier);
static member DidUpdate : AVFoundation.IAVContentKeySessionDelegate * AVFoundation.AVContentKeySession * Foundation.NSData * Foundation.NSObject -> unit

参数

This
IAVContentKeySessionDelegate

此扩展方法操作的实例。

session
AVContentKeySession

提供事件信息的会话。

persistableContentKey
NSData

更新的密钥。

keyIdentifier
NSObject

已更新密钥的标识符。

属性

适用于