Share via


WKWebExtension.Create Method

Definition

Overloads

Create(NSBundle, WKWebExtensionCreateCallback)

[Foundation.Export("extensionWithAppExtensionBundle:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Create(Foundation.NSBundle appExtensionBundle, WebKit.WKWebExtensionCreateCallback completionHandler);
[<Foundation.Export("extensionWithAppExtensionBundle:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSBundle * WebKit.WKWebExtensionCreateCallback -> unit

Parameters

appExtensionBundle
NSBundle
completionHandler
WKWebExtensionCreateCallback
Attributes

Applies to

Create(NSUrl, WKWebExtensionCreateCallback)

[Foundation.Export("extensionWithResourceBaseURL:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Create(Foundation.NSUrl resourceBaseUrl, WebKit.WKWebExtensionCreateCallback completionHandler);
[<Foundation.Export("extensionWithResourceBaseURL:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * WebKit.WKWebExtensionCreateCallback -> unit

Parameters

resourceBaseUrl
NSUrl
completionHandler
WKWebExtensionCreateCallback
Attributes

Applies to