Szerkesztés

Megosztás a következőn keresztül:


INSUrlSessionDataDelegate Interface

Definition

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

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

Remarks

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

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 NSUrlSessionDataDelegate protocol.

Optional methods (if any) are provided by the NSUrlSessionDataDelegate_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

DidBecomeDownloadTask(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlSessionDownloadTask)
DidBecomeStreamTask(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlSessionStreamTask)
DidReceiveData(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSData)
DidReceiveResponse(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlResponse, Action<NSUrlSessionResponseDisposition>)
WillCacheResponse(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSCachedUrlResponse, Action<NSCachedUrlResponse>)
DidBecomeInvalid(INSUrlSessionDelegate, NSUrlSession, NSError)
DidFinishEventsForBackgroundSession(INSUrlSessionDelegate, NSUrlSession)
DidReceiveChallenge(INSUrlSessionDelegate, NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)
DidCompleteWithError(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSError)
DidFinishCollectingMetrics(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlSessionTaskMetrics)
DidReceiveChallenge(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential>)
DidSendBodyData(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Int64, Int64, Int64)
NeedNewBodyStream(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Action<NSInputStream>)
TaskIsWaitingForConnectivity(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask)
WillBeginDelayedRequest(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlRequest, Action<NSUrlSessionDelayedRequestDisposition, NSUrlRequest>)
WillPerformHttpRedirection(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse, NSUrlRequest, Action<NSUrlRequest>)

Applies to