net9.0-macos14.2
namespace Foundation
{
    [Protocol(Name = "NSURLDownloadDelegate", WrapperType = typeof(NSUrlDownloadDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DownloadBegan", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSUrlDownload) }, Selector = "downloadDidBegin:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedAuthenticationChallenge", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSUrlAuthenticationChallenge) }, Selector = "download:didReceiveAuthenticationChallenge:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanceledAuthenticationChallenge", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSUrlAuthenticationChallenge) }, Selector = "download:didCancelAuthenticationChallenge:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedResponse", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSUrlResponse) }, Selector = "download:didReceiveResponse:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Resume", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSUrlResponse), typeof(long) }, Selector = "download:willResumeWithResponse:fromByte:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReceivedData", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(UIntPtr) }, Selector = "download:didReceiveDataOfLength:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DecideDestination", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(string) }, Selector = "download:decideDestinationWithSuggestedFilename:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreatedDestination", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(string) }, Selector = "download:didCreateDestination:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Finished", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSUrlDownload) }, Selector = "downloadDidFinish:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedWithError", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSError) }, Selector = "download:didFailWithError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillSendRequest", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(NSUrlRequest), typeof(NSUrlResponse) }, ReturnType = typeof(NSUrlRequest), Selector = "download:willSendRequest:redirectResponse:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DecodeSourceData", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrlDownload), typeof(string) }, ReturnType = typeof(bool), Selector = "download:shouldDecodeSourceDataOfMIMEType:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("maccatalyst")]
    [UnsupportedOSPlatform("tvos")]
    public interface INSUrlDownloadDelegate : INativeObject, IDisposable
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

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

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