AVAssetDownloadDelegate.DidReceiveChallenge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- task
- NSUrlSessionTask
- challenge
- NSUrlAuthenticationChallenge
- completionHandler
- Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>
- Attributes