net9.0-macos
namespace SafariServices
{
    [Protocol(Name = "SFSafariExtensionHandling", WrapperType = typeof(SFSafariExtensionHandlingWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MessageReceived", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(SFSafariPage), typeof(NSDictionary) }, Selector = "messageReceivedWithName:fromPage:userInfo:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ToolbarItemClicked", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(SFSafariWindow) }, Selector = "toolbarItemClickedInWindow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContextMenuItemSelected", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(SFSafariPage), typeof(NSDictionary) }, Selector = "contextMenuItemSelectedWithCommand:inPage:userInfo:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PopoverWillShow", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(SFSafariWindow) }, Selector = "popoverWillShowInWindow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PopoverDidClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(SFSafariWindow) }, Selector = "popoverDidCloseInWindow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MessageReceivedFromContainingApp", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(string), typeof(NSDictionary<NSString, NSObject>) }, Selector = "messageReceivedFromContainingAppWithName:userInfo:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ContentBlocker", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(NSUrl[]), typeof(SFSafariPage) }, Selector = "contentBlockerWithIdentifier:blockedResourcesWithURLs:onPage:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillNavigate", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(SFSafariPage), typeof(NSUrl) }, Selector = "page:willNavigateToURL:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateToolbarItem", ParameterBlockProxy = new[] { null, typeof(NIDActionArity2V130) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(SFSafariWindow), typeof(Action<bool, NSString>) }, Selector = "validateToolbarItemInWindow:validationHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateContextMenuItem", ParameterBlockProxy = new[] { null, null, null, typeof(NIDSFExtensionValidationHandler) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(string), typeof(SFSafariPage), typeof(NSDictionary<NSString, NSObject>), typeof(SFExtensionValidationHandler) }, Selector = "validateContextMenuItemWithCommand:inPage:userInfo:validationHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AdditionalRequestHeaders", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V104) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSUrl), typeof(Action<NSDictionary<NSString, NSString>>) }, Selector = "additionalRequestHeadersForURL:completionHandler:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "popoverViewController", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PopoverViewController", PropertyType = typeof(SFSafariExtensionViewController), Selector = "popoverViewController")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface ISFSafariExtensionHandling : INativeObject, IDisposable
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-macos7.0-macos8.0-macos9.0-macos
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/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙