Bewerken

Delen via


INSUrlSessionDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol NSUrlSessionDelegate.

[Foundation.Protocol(Name="NSURLSessionDelegate", WrapperType=typeof(Foundation.NSUrlSessionDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public interface INSUrlSessionDelegate : IDisposable, ObjCRuntime.INativeObject
type INSUrlSessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by NSUrlSessionDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the NSUrlSessionDelegate protocol.

Optional methods (if any) are provided by the NSUrlSessionDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidBecomeInvalid(INSUrlSessionDelegate, NSUrlSession, NSError)
DidFinishEventsForBackgroundSession(INSUrlSessionDelegate, NSUrlSession)
DidReceiveChallenge(INSUrlSessionDelegate, NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)

Applies to