-
Notifications
You must be signed in to change notification settings - Fork 42
/
IWKScriptMessageHandler.xml
85 lines (85 loc) · 5.27 KB
/
IWKScriptMessageHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<Type Name="IWKScriptMessageHandler" FullName="WebKit.IWKScriptMessageHandler">
<TypeSignature Language="C#" Value="public interface IWKScriptMessageHandler : IDisposable, ObjCRuntime.INativeObject" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IWKScriptMessageHandler implements class ObjCRuntime.INativeObject, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:WebKit.IWKScriptMessageHandler" />
<TypeSignature Language="F#" Value="type IWKScriptMessageHandler = interface
 interface INativeObject
 interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Protocol(Name="WKScriptMessageHandler", WrapperType=typeof(WebKit.WKScriptMessageHandlerWrapper))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidReceiveScriptMessage", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(WebKit.WKUserContentController), typeof(WebKit.WKScriptMessage) }, Selector="userContentController:didReceiveScriptMessage:")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Interface representing the required methods (if any) of the protocol <see cref="T:WebKit.WKScriptMessageHandler" />.</summary>
<remarks>
<para>This interface contains the required methods (if any) from the protocol defined by <see cref="T:WebKit.WKScriptMessageHandler" />.</para>
<para>If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the <see cref="T:WebKit.WKScriptMessageHandler" /> protocol.</para>
<para>Optional methods (if any) are provided by the <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=Web%20Kit%20WKScript%20Message%20Handler_%20Extensions&scope=Xamarin" title="T:WebKit.WKScriptMessageHandler_Extensions">T:WebKit.WKScriptMessageHandler_Extensions</a></format> class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.</para>
</remarks>
</Docs>
<Members>
<Member MemberName="DidReceiveScriptMessage">
<MemberSignature Language="C#" Value="public void DidReceiveScriptMessage (WebKit.WKUserContentController userContentController, WebKit.WKScriptMessage message);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DidReceiveScriptMessage(class WebKit.WKUserContentController userContentController, class WebKit.WKScriptMessage message) cil managed" />
<MemberSignature Language="DocId" Value="M:WebKit.IWKScriptMessageHandler.DidReceiveScriptMessage(WebKit.WKUserContentController,WebKit.WKScriptMessage)" />
<MemberSignature Language="F#" Value="abstract member DidReceiveScriptMessage : WebKit.WKUserContentController * WebKit.WKScriptMessage -> unit" Usage="iWKScriptMessageHandler.DidReceiveScriptMessage (userContentController, message)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("userContentController:didReceiveScriptMessage:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Preserve(Conditional=true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="userContentController" Type="WebKit.WKUserContentController" />
<Parameter Name="message" Type="WebKit.WKScriptMessage" />
</Parameters>
<Docs>
<param name="userContentController">To be added.</param>
<param name="message">To be added.</param>
<summary>Method that is called after a message is received from a script.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>