net9.0-ios
namespace Foundation
{
    [Protocol(Name = "NSURLSessionDataDelegate", WrapperType = typeof(NSUrlSessionDataDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidBecomeDownloadTask", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrlSession), typeof(NSUrlSessionDataTask), typeof(NSUrlSessionDownloadTask) }, Selector = "URLSession:dataTask:didBecomeDownloadTask:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrlSession), typeof(NSUrlSessionDataTask), typeof(NSData) }, Selector = "URLSession:dataTask:didReceiveData:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidBecomeStreamTask", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrlSession), typeof(NSUrlSessionDataTask), typeof(NSUrlSessionStreamTask) }, Selector = "URLSession:dataTask:didBecomeStreamTask:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveResponse", ParameterBlockProxy = new[] { null, null, null, typeof(NIDActionArity1V63) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSUrlSession), typeof(NSUrlSessionDataTask), typeof(NSUrlResponse), typeof(Action<NSUrlSessionResponseDisposition>) }, Selector = "URLSession:dataTask:didReceiveResponse:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillCacheResponse", ParameterBlockProxy = new[] { null, null, null, typeof(NIDActionArity1V61) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSUrlSession), typeof(NSUrlSessionDataTask), typeof(NSCachedUrlResponse), typeof(Action<NSCachedUrlResponse>) }, Selector = "URLSession:dataTask:willCacheResponse:completionHandler:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("macos")]
    [SupportedOSPlatform("tvos")]
    public interface INSUrlSessionDataDelegate : INSUrlSessionDelegate, INSUrlSessionTaskDelegate, INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-macos6.0-tvos7.0-ios7.0-maccatalyst7.0-macos7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API

04/27/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙