net9.0-macos14.2
namespace WebKit
{
    [ObsoletedOSPlatform("macos10.14", "No longer supported.")]
    [Protocol(FormalSince = "10.11", Name = "WebResourceLoadDelegate", WrapperType = typeof(WebResourceLoadDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedAuthenticationChallenge", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlAuthenticationChallenge), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveAuthenticationChallenge:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnCancelledAuthenticationChallenge", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlAuthenticationChallenge), typeof(WebDataSource) }, Selector = "webView:resource:didCancelAuthenticationChallenge:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedResponse", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlResponse), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveResponse:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedContentLength", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(IntPtr), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveContentLength:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnFinishedLoading", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(WebDataSource) }, Selector = "webView:resource:didFinishLoadingFromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnFailedLoading", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSError), typeof(WebDataSource) }, Selector = "webView:resource:didFailLoadingWithError:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnPlugInFailed", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSError), typeof(WebDataSource) }, Selector = "webView:plugInFailedWithError:dataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnIdentifierForInitialRequest", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSUrlRequest), typeof(WebDataSource) }, ReturnType = typeof(NSObject), Selector = "webView:identifierForInitialRequest:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnSendRequest", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlRequest), typeof(NSUrlResponse), typeof(WebDataSource) }, ReturnType = typeof(NSUrlRequest), Selector = "webView:resource:willSendRequest:redirectResponse:fromDataSource:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface IWebResourceLoadDelegate : 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

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