IWKWebExtensionTab
Activate(WKWebExtensionContext, WKWebExtensionTabCallback)
ActivateAsync(WKWebExtensionContext)
Close(WKWebExtensionContext, WKWebExtensionTabCallback)
CloseAsync(WKWebExtensionContext)
DetectWebpageLocale(WKWebExtensionContext, WKWebExtensionTabDetectLocaleCallback)
DetectWebpageLocaleAsync(WKWebExtensionContext)
Duplicate(WKWebExtensionTabConfiguration, WKWebExtensionContext, WKWebExtensionTabDuplicateCallback)
DuplicateAsync(WKWebExtensionTabConfiguration, WKWebExtensionContext)
GetIndexInWindow(WKWebExtensionContext)
GetParentTab(WKWebExtensionContext)
GetPendingUrl(WKWebExtensionContext)
GetSize(WKWebExtensionContext)
GetTitle(WKWebExtensionContext)
GetUrl(WKWebExtensionContext)
GetWebView(WKWebExtensionContext)
GetWindow(WKWebExtensionContext)
GetZoomFactor(WKWebExtensionContext)
GoBack(WKWebExtensionContext, WKWebExtensionTabCallback)
GoBackAsync(WKWebExtensionContext)
GoForward(WKWebExtensionContext, WKWebExtensionTabCallback)
GoForwardAsync(WKWebExtensionContext)
IsLoadingComplete(WKWebExtensionContext)
IsMuted(WKWebExtensionContext)
IsPinned(WKWebExtensionContext)
IsPlayingAudio(WKWebExtensionContext)
IsReaderModeActive(WKWebExtensionContext)
IsReaderModeAvailable(WKWebExtensionContext)
IsSelected(WKWebExtensionContext)
LoadUrl(NSUrl, WKWebExtensionContext, WKWebExtensionTabCallback)
LoadUrlAsync(NSUrl, WKWebExtensionContext)
ReloadFromOrigin(Boolean, WKWebExtensionContext, WKWebExtensionTabCallback)
ReloadFromOriginAsync(Boolean, WKWebExtensionContext)
SetMuted(Boolean, WKWebExtensionContext, WKWebExtensionTabCallback)
SetMutedAsync(Boolean, WKWebExtensionContext)
SetParentTab(IWKWebExtensionTab, WKWebExtensionContext, WKWebExtensionTabCallback)
SetParentTabAsync(IWKWebExtensionTab, WKWebExtensionContext)
SetPinned(Boolean, WKWebExtensionContext, WKWebExtensionTabCallback)
SetPinnedAsync(Boolean, WKWebExtensionContext)
SetReaderModeActive(Boolean, WKWebExtensionContext, WKWebExtensionTabCallback)
SetReaderModeActiveAsync(Boolean, WKWebExtensionContext)
SetSelected(Boolean, WKWebExtensionContext, WKWebExtensionTabCallback)
SetSelectedAsync(Boolean, WKWebExtensionContext)
SetZoomFactor(Double, WKWebExtensionContext, WKWebExtensionTabCallback)
SetZoomFactorAsync(Double, WKWebExtensionContext)
ShouldBypassPermissions(WKWebExtensionContext)
ShouldGrantPermissionsOnUserGesture(WKWebExtensionContext)
TakeSnapshot(WKSnapshotConfiguration, WKWebExtensionContext, WKWebExtensionTabTakeSnapshotCallback)
TakeSnapshotAsync(WKSnapshotConfiguration, WKWebExtensionContext)
net10.0-ios17.2
namespace WebKit
{
[Protocol(BackwardsCompatibleCodeGeneration = false, Name = "WKWebExtensionTab", WrapperType = typeof(WKWebExtensionTabWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWindow", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(IWKWebExtensionWindow), Selector = "windowForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetIndexInWindow", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(UIntPtr), Selector = "indexInWindowForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetParentTab", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(IWKWebExtensionTab), Selector = "parentTabForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetParentTab", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IWKWebExtensionTab), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setParentTab:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetWebView", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(WKWebView), Selector = "webViewForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTitle", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(string), Selector = "titleForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsPinned", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isPinnedForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetPinned", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(bool), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setPinned:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsReaderModeAvailable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isReaderModeAvailableForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsReaderModeActive", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isReaderModeActiveForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetReaderModeActive", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(bool), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setReaderModeActive:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsPlayingAudio", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isPlayingAudioForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsMuted", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isMutedForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetMuted", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(bool), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setMuted:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSize", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(CGSize), Selector = "sizeForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetZoomFactor", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(double), Selector = "zoomFactorForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetZoomFactor", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(double), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setZoomFactor:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetUrl", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(NSUrl), Selector = "urlForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPendingUrl", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(NSUrl), Selector = "pendingURLForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsLoadingComplete", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isLoadingCompleteForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DetectWebpageLocale", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionTabDetectLocaleCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionTabDetectLocaleCallback) }, Selector = "detectWebpageLocaleForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TakeSnapshot", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabTakeSnapshotCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKSnapshotConfiguration), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabTakeSnapshotCallback) }, Selector = "takeSnapshotUsingConfiguration:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "LoadUrl", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSUrl), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "loadURL:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ReloadFromOrigin", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(bool), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "reloadFromOrigin:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GoBack", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "goBackForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GoForward", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "goForwardForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Activate", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "activateForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsSelected", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "isSelectedForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetSelected", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(bool), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "setSelected:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Duplicate", ParameterBlockProxy = new[] { null, null, typeof(NIDWKWebExtensionTabDuplicateCallback) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WKWebExtensionTabConfiguration), typeof(WKWebExtensionContext), typeof(WKWebExtensionTabDuplicateCallback) }, Selector = "duplicateUsingConfiguration:forWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Close", ParameterBlockProxy = new[] { null, typeof(NIDWKWebExtensionTabCallback) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WKWebExtensionContext), typeof(WKWebExtensionTabCallback) }, Selector = "closeForWebExtensionContext:completionHandler:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldGrantPermissionsOnUserGesture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "shouldGrantPermissionsOnUserGestureForWebExtensionContext:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBypassPermissions", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WKWebExtensionContext) }, ReturnType = typeof(bool), Selector = "shouldBypassPermissionsForWebExtensionContext:")]
[SupportedOSPlatform("macos15.4")]
[SupportedOSPlatform("ios18.4")]
[SupportedOSPlatform("maccatalyst18.4")]
[UnsupportedOSPlatform("tvos")]
public interface IWKWebExtensionTab : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
virtual Task! LoadUrlAsync(NSUrl! url, WKWebExtensionContext! context);
}
}
| .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