編集

次の方法で共有


AVAssetDownloadDelegate.DidReceiveChallenge Method

Definition

Method that is called to obtain credentials when a challenge is received.

[Foundation.Export("URLSession:task:didReceiveChallenge:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidReceiveChallenge (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Foundation.NSUrlAuthenticationChallenge challenge, Action<Foundation.NSUrlSessionAuthChallengeDisposition,Foundation.NSUrlCredential> completionHandler);
abstract member DidReceiveChallenge : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSUrlAuthenticationChallenge * Action<Foundation.NSUrlSessionAuthChallengeDisposition, Foundation.NSUrlCredential> -> unit
override this.DidReceiveChallenge : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Foundation.NSUrlAuthenticationChallenge * Action<Foundation.NSUrlSessionAuthChallengeDisposition, Foundation.NSUrlCredential> -> unit

Parameters

session
NSUrlSession
Attributes

Applies to