net9.0-macos14.2
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(NIDActionArity2V132) }, 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(NIDActionArity1V105) }, 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
}
.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:
|