IWKWebExtensionWindow
ActiveTab(WKWebExtensionContext)
Close(WKWebExtensionContext, WKWebExtensionWindowCallback)
CloseAsync(WKWebExtensionContext)
Focus(WKWebExtensionContext, WKWebExtensionWindowCallback)
FocusAsync(WKWebExtensionContext)
GetFrame(WKWebExtensionContext)
GetScreenFrame(WKWebExtensionContext)
GetTabs(WKWebExtensionContext)
GetWindowState(WKWebExtensionContext)
GetWindowType(WKWebExtensionContext)
IsPrivate(WKWebExtensionContext)
SetFrame(CGRect, WKWebExtensionContext, WKWebExtensionWindowCallback)
SetFrameAsync(CGRect, WKWebExtensionContext)
SetWindowState(WKWebExtensionWindowState, WKWebExtensionContext, WKWebExtensionWindowCallback)
SetWindowStateAsync(WKWebExtensionWindowState, WKWebExtensionContext)
net10.0-ios17.2
namespace WebKit
{
[Protocol(BackwardsCompatibleCodeGeneration = false, Name = "WKWebExtensionWindow", WrapperType = typeof(WKWebExtensionWindowWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTabs", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(IWKWebExtensionTab[]), Selector = "tabsForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ActiveTab", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(IWKWebExtensionTab), Selector = "activeTabForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWindowType", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(WKWebExtensionWindowType), Selector = "windowTypeForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWindowState", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(WKWebExtensionWindowState), Selector = "windowStateForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetWindowState", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionWindowCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebExtensionWindowState), typeof(WKWebExtensionContext), typeof(WKWebExtensionWindowCallback) }, Selector = "setWindowState:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsPrivate", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isPrivateForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetFrame", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(CGRect), Selector = "frameForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetFrame", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionWindowCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(CGRect), typeof(WKWebExtensionContext), typeof(WKWebExtensionWindowCallback) }, Selector = "setFrame:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Focus", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionWindowCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionWindowCallback) }, Selector = "focusForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Close", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionWindowCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionWindowCallback) }, Selector = "closeForWebExtensionContext:completionHandler:")]
[SupportedOSPlatform("macos15.4")]
[SupportedOSPlatform("ios18.4")]
[SupportedOSPlatform("maccatalyst18.4")]
[UnsupportedOSPlatform("tvos")]
public interface IWKWebExtensionWindow : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("closeForWebExtensionContext:completionHandler:")]
[OptionalMember]
virtual void Close(WKWebExtensionContext! context, [BlockProxy(typeof(NIDWKWebExtensionWindowCallback))] WKWebExtensionWindowCallback! completionHandler);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
| Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
| macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net10.0-ios17.2 | |
| Assembly | Microsoft.iOS , Version=18.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API