Share via


IWKScriptMessageHandlerWithReply Interface

Definition

This interface represents the Objective-C protocol WKScriptMessageHandlerWithReply.

[Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V184) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")]
public interface IWKScriptMessageHandlerWithReply : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V174) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")]
public interface IWKScriptMessageHandlerWithReply : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V154) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")]
public interface IWKScriptMessageHandlerWithReply : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V184) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")>]
type IWKScriptMessageHandlerWithReply = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V174) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")>]
type IWKScriptMessageHandlerWithReply = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="WKScriptMessageHandlerWithReply", WrapperType=typeof(WebKit.WKScriptMessageHandlerWithReplyWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V154) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage), typeof(System.Action<Foundation.NSObject,Foundation.NSString>) }, Selector="userContentController:didReceiveScriptMessage:replyHandler:")>]
type IWKScriptMessageHandlerWithReply = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidReceiveScriptMessage(WKUserContentController, WKScriptMessage, Action<NSObject,NSString>)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to