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
}
Assembly | Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-macos7.0-macos8.0-macos9.0-macos |
Xamarin macOS | 0.0 |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|