共用方式為


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

傳回

屬性

適用於