AVContentKeyRequest.RespondByRequestingPersistableContentKeyRequest 方法

定义

重载

RespondByRequestingPersistableContentKeyRequest()
已过时.

开发人员不应使用此已弃用的方法。 开发人员应改用“NSError”重载。

RespondByRequestingPersistableContentKeyRequest(NSError)

RespondByRequestingPersistableContentKeyRequest()

注意

This API is not available on this platform.

开发人员不应使用此已弃用的方法。 开发人员应改用“NSError”重载。

[Foundation.Export("respondByRequestingPersistableContentKeyRequest")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 2, ObjCRuntime.PlatformArchitecture.None, "Use the 'NSError' overload instead.")]
[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 virtual void RespondByRequestingPersistableContentKeyRequest ();
[System.Obsolete("This API is not available on this platform.")]
public virtual void RespondByRequestingPersistableContentKeyRequest ();
abstract member RespondByRequestingPersistableContentKeyRequest : unit -> unit
override this.RespondByRequestingPersistableContentKeyRequest : unit -> unit
属性

适用于

RespondByRequestingPersistableContentKeyRequest(NSError)

[Foundation.Export("respondByRequestingPersistableContentKeyRequestAndReturnError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 2, 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 virtual bool RespondByRequestingPersistableContentKeyRequest (out Foundation.NSError error);
abstract member RespondByRequestingPersistableContentKeyRequest :  -> bool
override this.RespondByRequestingPersistableContentKeyRequest :  -> bool

参数

error
NSError

内容待定。

此参数可以为 null

返回

属性

适用于