This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
WebChromeClient.xml
1553 lines (1551 loc) · 115 KB
/
WebChromeClient.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="WebChromeClient" FullName="Android.Webkit.WebChromeClient">
<TypeSignature Language="C#" Value="public class WebChromeClient : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit WebChromeClient extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Webkit.WebChromeClient" />
<TypeSignature Language="F#" Value="type WebChromeClient = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/webkit/WebChromeClient", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/webkit/WebChromeClient", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>To be added.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient" title="Reference documentation">Android platform documentation</a>
</format>
</para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebChromeClient ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>
</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected WebChromeClient (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Webkit.WebChromeClient : nativeint * Android.Runtime.JniHandleOwnership -> Android.Webkit.WebChromeClient" Usage="new Android.Webkit.WebChromeClient (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultVideoPoster">
<MemberSignature Language="C#" Value="public virtual Android.Graphics.Bitmap? DefaultVideoPoster { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Graphics.Bitmap DefaultVideoPoster" />
<MemberSignature Language="DocId" Value="P:Android.Webkit.WebChromeClient.DefaultVideoPoster" />
<MemberSignature Language="F#" Value="member this.DefaultVideoPoster : Android.Graphics.Bitmap" Usage="Android.Webkit.WebChromeClient.DefaultVideoPoster" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDefaultVideoPoster", "()Landroid/graphics/Bitmap;", "GetGetDefaultVideoPosterHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDefaultVideoPoster", "()Landroid/graphics/Bitmap;", "GetGetDefaultVideoPosterHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Bitmap</ReturnType>
</ReturnValue>
<Docs>
<summary>When not playing, video elements are represented by a 'poster' image.</summary>
<value>Bitmap The image to use as a default poster, or <c>null</c> if no such image is
available.</value>
<remarks>
<para>When not playing, video elements are represented by a 'poster' image. The
image to use can be specified by the poster attribute of the video tag in
HTML. If the attribute is absent, then a default poster will be used. This
method allows the ChromeClient to provide that default image.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#getDefaultVideoPoster()" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.getDefaultVideoPoster()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 7" />
</Docs>
</Member>
<Member MemberName="GetVisitedHistory">
<MemberSignature Language="C#" Value="public virtual void GetVisitedHistory (Android.Webkit.IValueCallback? callback);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetVisitedHistory(class Android.Webkit.IValueCallback callback) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.GetVisitedHistory(Android.Webkit.IValueCallback)" />
<MemberSignature Language="F#" Value="abstract member GetVisitedHistory : Android.Webkit.IValueCallback -> unit
override this.GetVisitedHistory : Android.Webkit.IValueCallback -> unit" Usage="webChromeClient.GetVisitedHistory callback" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getVisitedHistory", "(Landroid/webkit/ValueCallback;)V", "GetGetVisitedHistory_Landroid_webkit_ValueCallback_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getVisitedHistory", "(Landroid/webkit/ValueCallback;)V", "GetGetVisitedHistory_Landroid_webkit_ValueCallback_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="callback" Type="Android.Webkit.IValueCallback" />
</Parameters>
<Docs>
<param name="callback">To be added.</param>
<summary>Obtains a list of all visited history items, used for link coloring</summary>
<remarks>
<para>Obtains a list of all visited history items, used for link coloring</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#getVisitedHistory(android.webkit.ValueCallback%3Cjava.lang.String[]%3E)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.getVisitedHistory(android.webkit.ValueCallback<java.lang.String[]>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Webkit.WebChromeClient.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Webkit.WebChromeClient.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="OnCloseWindow">
<MemberSignature Language="C#" Value="public virtual void OnCloseWindow (Android.Webkit.WebView? window);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnCloseWindow(class Android.Webkit.WebView window) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnCloseWindow(Android.Webkit.WebView)" />
<MemberSignature Language="F#" Value="abstract member OnCloseWindow : Android.Webkit.WebView -> unit
override this.OnCloseWindow : Android.Webkit.WebView -> unit" Usage="webChromeClient.OnCloseWindow window" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onCloseWindow", "(Landroid/webkit/WebView;)V", "GetOnCloseWindow_Landroid_webkit_WebView_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onCloseWindow", "(Landroid/webkit/WebView;)V", "GetOnCloseWindow_Landroid_webkit_WebView_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="window" Type="Android.Webkit.WebView" />
</Parameters>
<Docs>
<param name="window">The WebView that needs to be closed.</param>
<summary>Notify the host application to close the given WebView and remove it
from the view system if necessary.</summary>
<remarks>
<para>Notify the host application to close the given WebView and remove it
from the view system if necessary. At this point, WebCore has stopped
any loading in this window and has removed any cross-scripting ability
in javascript.</para>
<para>As with <c>#onCreateWindow</c>, the application should ensure that any
URL or security indicator displayed is updated so that the user can tell
that the page they were interacting with has been closed.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onCloseWindow(android.webkit.WebView)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onCloseWindow(android.webkit.WebView)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnConsoleMessage">
<MemberSignature Language="C#" Value="public virtual bool OnConsoleMessage (Android.Webkit.ConsoleMessage? consoleMessage);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnConsoleMessage(class Android.Webkit.ConsoleMessage consoleMessage) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnConsoleMessage(Android.Webkit.ConsoleMessage)" />
<MemberSignature Language="F#" Value="abstract member OnConsoleMessage : Android.Webkit.ConsoleMessage -> bool
override this.OnConsoleMessage : Android.Webkit.ConsoleMessage -> bool" Usage="webChromeClient.OnConsoleMessage consoleMessage" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onConsoleMessage", "(Landroid/webkit/ConsoleMessage;)Z", "GetOnConsoleMessage_Landroid_webkit_ConsoleMessage_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onConsoleMessage", "(Landroid/webkit/ConsoleMessage;)Z", "GetOnConsoleMessage_Landroid_webkit_ConsoleMessage_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="consoleMessage" Type="Android.Webkit.ConsoleMessage" />
</Parameters>
<Docs>
<param name="consoleMessage">Object containing details of the console message.</param>
<summary>Report a JavaScript console message to the host application.</summary>
<returns>
<c>true</c> if the message is handled by the client.</returns>
<remarks>
<para>Report a JavaScript console message to the host application. The ChromeClient
should override this to process the log message as they see fit.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onConsoleMessage(android.webkit.ConsoleMessage)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onConsoleMessage(android.webkit.ConsoleMessage)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
</Member>
<Member MemberName="OnConsoleMessage">
<MemberSignature Language="C#" Value="public virtual void OnConsoleMessage (string? message, int lineNumber, string? sourceID);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnConsoleMessage(string message, int32 lineNumber, string sourceID) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnConsoleMessage(System.String,System.Int32,System.String)" />
<MemberSignature Language="F#" Value="abstract member OnConsoleMessage : string * int * string -> unit
override this.OnConsoleMessage : string * int * string -> unit" Usage="webChromeClient.OnConsoleMessage (message, lineNumber, sourceID)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onConsoleMessage", "(Ljava/lang/String;ILjava/lang/String;)V", "GetOnConsoleMessage_Ljava_lang_String_ILjava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onConsoleMessage", "(Ljava/lang/String;ILjava/lang/String;)V", "GetOnConsoleMessage_Ljava_lang_String_ILjava_lang_String_Handler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="lineNumber" Type="System.Int32" />
<Parameter Name="sourceID" Type="System.String" />
</Parameters>
<Docs>
<param name="message">The error message to report.</param>
<param name="lineNumber">The line number of the error.</param>
<param name="sourceID">The name of the source file that caused the error.</param>
<summary>Report a JavaScript error message to the host application.</summary>
<returns>
<c>true</c> if the message is handled by the client.</returns>
<remarks>
<para>Report a JavaScript error message to the host application. The ChromeClient
should override this to process the log message as they see fit.</para>
<para>This member is deprecated. Use <c>#onConsoleMessage(ConsoleMessage) onConsoleMessage(ConsoleMessage)</c>
instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onConsoleMessage(java.lang.String,%20int,%20java.lang.String)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onConsoleMessage(java.lang.String, int, java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 7" />
</Docs>
</Member>
<Member MemberName="OnCreateWindow">
<MemberSignature Language="C#" Value="public virtual bool OnCreateWindow (Android.Webkit.WebView? view, bool isDialog, bool isUserGesture, Android.OS.Message? resultMsg);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnCreateWindow(class Android.Webkit.WebView view, bool isDialog, bool isUserGesture, class Android.OS.Message resultMsg) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnCreateWindow(Android.Webkit.WebView,System.Boolean,System.Boolean,Android.OS.Message)" />
<MemberSignature Language="F#" Value="abstract member OnCreateWindow : Android.Webkit.WebView * bool * bool * Android.OS.Message -> bool
override this.OnCreateWindow : Android.Webkit.WebView * bool * bool * Android.OS.Message -> bool" Usage="webChromeClient.OnCreateWindow (view, isDialog, isUserGesture, resultMsg)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onCreateWindow", "(Landroid/webkit/WebView;ZZLandroid/os/Message;)Z", "GetOnCreateWindow_Landroid_webkit_WebView_ZZLandroid_os_Message_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onCreateWindow", "(Landroid/webkit/WebView;ZZLandroid/os/Message;)Z", "GetOnCreateWindow_Landroid_webkit_WebView_ZZLandroid_os_Message_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Webkit.WebView" />
<Parameter Name="isDialog" Type="System.Boolean" />
<Parameter Name="isUserGesture" Type="System.Boolean" />
<Parameter Name="resultMsg" Type="Android.OS.Message" />
</Parameters>
<Docs>
<param name="view">The WebView from which the request for a new window
originated.</param>
<param name="isDialog">
<c>true</c> if the new window should be a dialog, rather than
a full-size window.</param>
<param name="isUserGesture">
<c>true</c> if the request was initiated by a user gesture,
such as the user clicking a link.</param>
<param name="resultMsg">The message to send when once a new WebView has been
created. resultMsg.obj is a
<c>WebView.WebViewTransport</c> object. This should be
used to transport the new WebView, by calling
<c>WebView.WebViewTransport#setWebView(WebView)
WebView.WebViewTransport.setWebView(WebView)</c>.</param>
<summary>Request the host application to create a new window.</summary>
<returns>This method should return <c>true</c> if the host application will
create a new window, in which case resultMsg should be sent to
its target. Otherwise, this method should return <c>false</c>. Returning
<c>false</c> from this method but also sending resultMsg will result in
undefined behavior.</returns>
<remarks>
<para>Request the host application to create a new window. If the host
application chooses to honor this request, it should return <c>true</c> from
this method, create a new WebView to host the window, insert it into the
View system and send the supplied resultMsg message to its target with
the new WebView as an argument. If the host application chooses not to
honor the request, it should return <c>false</c> from this method. The default
implementation of this method does nothing and hence returns <c>false</c>.</para>
<para>Applications should typically not allow windows to be created when the
<c>isUserGesture</c> flag is false, as this may be an unwanted popup.</para>
<para>Applications should be careful how they display the new window: don't simply
overlay it over the existing WebView as this may mislead the user about which
site they are viewing. If your application displays the URL of the main page,
make sure to also display the URL of the new window in a similar fashion. If
your application does not display URLs, consider disallowing the creation of
new windows entirely.
<p class="note"><b>Note:</b> There is no trustworthy way to tell which page
requested the new window: the request might originate from a third-party iframe
inside the WebView.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onCreateWindow(android.webkit.WebView,%20boolean,%20boolean,%20android.os.Message)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onCreateWindow(android.webkit.WebView, boolean, boolean, android.os.Message)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnExceededDatabaseQuota">
<MemberSignature Language="C#" Value="public virtual void OnExceededDatabaseQuota (string? url, string? databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, Android.Webkit.WebStorage.IQuotaUpdater? quotaUpdater);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnExceededDatabaseQuota(string url, string databaseIdentifier, int64 quota, int64 estimatedDatabaseSize, int64 totalQuota, class Android.Webkit.WebStorage/IQuotaUpdater quotaUpdater) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnExceededDatabaseQuota(System.String,System.String,System.Int64,System.Int64,System.Int64,Android.Webkit.WebStorage.IQuotaUpdater)" />
<MemberSignature Language="F#" Value="abstract member OnExceededDatabaseQuota : string * string * int64 * int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit
override this.OnExceededDatabaseQuota : string * string * int64 * int64 * int64 * Android.Webkit.WebStorage.IQuotaUpdater -> unit" Usage="webChromeClient.OnExceededDatabaseQuota (url, databaseIdentifier, quota, estimatedDatabaseSize, totalQuota, quotaUpdater)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onExceededDatabaseQuota", "(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnExceededDatabaseQuota_Ljava_lang_String_Ljava_lang_String_JJJLandroid_webkit_WebStorage_QuotaUpdater_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onExceededDatabaseQuota", "(Ljava/lang/String;Ljava/lang/String;JJJLandroid/webkit/WebStorage$QuotaUpdater;)V", "GetOnExceededDatabaseQuota_Ljava_lang_String_Ljava_lang_String_JJJLandroid_webkit_WebStorage_QuotaUpdater_Handler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="System.String" />
<Parameter Name="databaseIdentifier" Type="System.String" />
<Parameter Name="quota" Type="System.Int64" />
<Parameter Name="estimatedDatabaseSize" Type="System.Int64" />
<Parameter Name="totalQuota" Type="System.Int64" />
<Parameter Name="quotaUpdater" Type="Android.Webkit.WebStorage+IQuotaUpdater" />
</Parameters>
<Docs>
<param name="url">The URL of the page that triggered the notification</param>
<param name="databaseIdentifier">The identifier of the database where the quota
was exceeded.</param>
<param name="quota">The quota for the origin, in bytes</param>
<param name="estimatedDatabaseSize">The estimated size of the offending
database, in bytes</param>
<param name="totalQuota">The total quota for all origins, in bytes</param>
<param name="quotaUpdater">An instance of <c>WebStorage.QuotaUpdater</c> which
must be used to inform the WebView of the new quota.</param>
<summary>Tell the client that the quota has been exceeded for the Web SQL Database
API for a particular origin and request a new quota.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onExceededDatabaseQuota(java.lang.String,%20java.lang.String,%20long,%20long,%20long,%20android.webkit.QuotaUpdater)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onExceededDatabaseQuota(java.lang.String, java.lang.String, long, long, long, android.webkit.QuotaUpdater)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="OnGeolocationPermissionsHidePrompt">
<MemberSignature Language="C#" Value="public virtual void OnGeolocationPermissionsHidePrompt ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnGeolocationPermissionsHidePrompt() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnGeolocationPermissionsHidePrompt" />
<MemberSignature Language="F#" Value="abstract member OnGeolocationPermissionsHidePrompt : unit -> unit
override this.OnGeolocationPermissionsHidePrompt : unit -> unit" Usage="webChromeClient.OnGeolocationPermissionsHidePrompt " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onGeolocationPermissionsHidePrompt", "()V", "GetOnGeolocationPermissionsHidePromptHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onGeolocationPermissionsHidePrompt", "()V", "GetOnGeolocationPermissionsHidePromptHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Notify the host application that a request for Geolocation permissions,
made with a previous call to
<c>#onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) onGeolocationPermissionsShowPrompt()</c>
has been canceled.</summary>
<remarks>
<para>Notify the host application that a request for Geolocation permissions,
made with a previous call to
<c>#onGeolocationPermissionsShowPrompt(String,GeolocationPermissions.Callback) onGeolocationPermissionsShowPrompt()</c>
has been canceled. Any related UI should therefore be hidden.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onGeolocationPermissionsHidePrompt()" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onGeolocationPermissionsHidePrompt()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="OnGeolocationPermissionsShowPrompt">
<MemberSignature Language="C#" Value="public virtual void OnGeolocationPermissionsShowPrompt (string? origin, Android.Webkit.GeolocationPermissions.ICallback? callback);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnGeolocationPermissionsShowPrompt(string origin, class Android.Webkit.GeolocationPermissions/ICallback callback) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnGeolocationPermissionsShowPrompt(System.String,Android.Webkit.GeolocationPermissions.ICallback)" />
<MemberSignature Language="F#" Value="abstract member OnGeolocationPermissionsShowPrompt : string * Android.Webkit.GeolocationPermissions.ICallback -> unit
override this.OnGeolocationPermissionsShowPrompt : string * Android.Webkit.GeolocationPermissions.ICallback -> unit" Usage="webChromeClient.OnGeolocationPermissionsShowPrompt (origin, callback)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onGeolocationPermissionsShowPrompt", "(Ljava/lang/String;Landroid/webkit/GeolocationPermissions$Callback;)V", "GetOnGeolocationPermissionsShowPrompt_Ljava_lang_String_Landroid_webkit_GeolocationPermissions_Callback_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onGeolocationPermissionsShowPrompt", "(Ljava/lang/String;Landroid/webkit/GeolocationPermissions$Callback;)V", "GetOnGeolocationPermissionsShowPrompt_Ljava_lang_String_Landroid_webkit_GeolocationPermissions_Callback_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="origin" Type="System.String" />
<Parameter Name="callback" Type="Android.Webkit.GeolocationPermissions+ICallback" />
</Parameters>
<Docs>
<param name="origin">The origin of the web content attempting to use the
Geolocation API.</param>
<param name="callback">The callback to use to set the permission state for the
origin.</param>
<summary>Notify the host application that web content from the specified origin
is attempting to use the Geolocation API, but no permission state is
currently set for that origin.</summary>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onGeolocationPermissionsShowPrompt(java.lang.String,%20android.webkit.Callback)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onGeolocationPermissionsShowPrompt(java.lang.String, android.webkit.Callback)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="OnHideCustomView">
<MemberSignature Language="C#" Value="public virtual void OnHideCustomView ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnHideCustomView() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnHideCustomView" />
<MemberSignature Language="F#" Value="abstract member OnHideCustomView : unit -> unit
override this.OnHideCustomView : unit -> unit" Usage="webChromeClient.OnHideCustomView " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onHideCustomView", "()V", "GetOnHideCustomViewHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onHideCustomView", "()V", "GetOnHideCustomViewHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Notify the host application that the current page has exited full screen mode.</summary>
<remarks>
<para>Notify the host application that the current page has exited full screen mode. The host
application must hide the custom View (the View which was previously passed to <c>#onShowCustomView(View, CustomViewCallback) onShowCustomView()</c>). After this call, web
content will render in the original WebView again.
<p class="note"><b>Note:</b> if overriding this method, the application must also override
<c>#onShowCustomView(View, CustomViewCallback) onShowCustomView()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onHideCustomView()" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onHideCustomView()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 7" />
</Docs>
</Member>
<Member MemberName="OnJsAlert">
<MemberSignature Language="C#" Value="public virtual bool OnJsAlert (Android.Webkit.WebView? view, string? url, string? message, Android.Webkit.JsResult? result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnJsAlert(class Android.Webkit.WebView view, string url, string message, class Android.Webkit.JsResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnJsAlert(Android.Webkit.WebView,System.String,System.String,Android.Webkit.JsResult)" />
<MemberSignature Language="F#" Value="abstract member OnJsAlert : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool
override this.OnJsAlert : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool" Usage="webChromeClient.OnJsAlert (view, url, message, result)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onJsAlert", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsAlert_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onJsAlert", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsAlert_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Webkit.WebView" />
<Parameter Name="url" Type="System.String" />
<Parameter Name="message" Type="System.String" />
<Parameter Name="result" Type="Android.Webkit.JsResult" />
</Parameters>
<Docs>
<param name="view">The WebView that initiated the callback.</param>
<param name="url">The url of the page requesting the dialog.</param>
<param name="message">Message to be displayed in the window.</param>
<param name="result">A JsResult to confirm that the user closed the window.</param>
<summary>Notify the host application that the web page wants to display a
JavaScript <c>alert()</c> dialog.</summary>
<returns>boolean <c>true</c> if the request is handled or ignored.
<c>false</c> if WebView needs to show the default dialog.</returns>
<remarks>
<para>Notify the host application that the web page wants to display a
JavaScript <c>alert()</c> dialog.</para>
<para>The default behavior if this method returns <c>false</c> or is not
overridden is to show a dialog containing the alert message and suspend
JavaScript execution until the dialog is dismissed.</para>
<para>To show a custom dialog, the app should return <c>true</c> from this
method, in which case the default dialog will not be shown and JavaScript
execution will be suspended. The app should call
<c>JsResult.confirm()</c> when the custom dialog is dismissed such that
JavaScript execution can be resumed.</para>
<para>To suppress the dialog and allow JavaScript execution to
continue, call <c>JsResult.confirm()</c> immediately and then return
<c>true</c>.</para>
<para>Note that if the <c>WebChromeClient</c> is set to be <c>null</c>,
or if <c>WebChromeClient</c> is not set at all, the default dialog will
be suppressed and Javascript execution will continue immediately.</para>
<para>Note that the default dialog does not inherit the <c>android.view.Display#FLAG_SECURE</c> flag from the parent window.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onJsAlert(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20android.webkit.JsResult)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onJsAlert(android.webkit.WebView, java.lang.String, java.lang.String, android.webkit.JsResult)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnJsBeforeUnload">
<MemberSignature Language="C#" Value="public virtual bool OnJsBeforeUnload (Android.Webkit.WebView? view, string? url, string? message, Android.Webkit.JsResult? result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnJsBeforeUnload(class Android.Webkit.WebView view, string url, string message, class Android.Webkit.JsResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnJsBeforeUnload(Android.Webkit.WebView,System.String,System.String,Android.Webkit.JsResult)" />
<MemberSignature Language="F#" Value="abstract member OnJsBeforeUnload : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool
override this.OnJsBeforeUnload : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool" Usage="webChromeClient.OnJsBeforeUnload (view, url, message, result)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onJsBeforeUnload", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsBeforeUnload_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onJsBeforeUnload", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsBeforeUnload_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Webkit.WebView" />
<Parameter Name="url" Type="System.String" />
<Parameter Name="message" Type="System.String" />
<Parameter Name="result" Type="Android.Webkit.JsResult" />
</Parameters>
<Docs>
<param name="view">The WebView that initiated the callback.</param>
<param name="url">The url of the page requesting the dialog.</param>
<param name="message">Message to be displayed in the window.</param>
<param name="result">A JsResult used to send the user's response to
javascript.</param>
<summary>Notify the host application that the web page wants to confirm navigation
from JavaScript <c>onbeforeunload</c>.</summary>
<returns>boolean <c>true</c> if the request is handled or ignored.
<c>false</c> if WebView needs to show the default dialog.</returns>
<remarks>
<para>Notify the host application that the web page wants to confirm navigation
from JavaScript <c>onbeforeunload</c>.</para>
<para>The default behavior if this method returns <c>false</c> or is not
overridden is to show a dialog containing the message and suspend
JavaScript execution until the dialog is dismissed. The default dialog
will continue the navigation if the user confirms the navigation, and
will stop the navigation if the user wants to stay on the current page.</para>
<para>To show a custom dialog, the app should return <c>true</c> from this
method, in which case the default dialog will not be shown and JavaScript
execution will be suspended. When the custom dialog is dismissed, the
app should call <c>JsResult.confirm()</c> to continue the navigation or,
<c>JsResult.cancel()</c> to stay on the current page.</para>
<para>To suppress the dialog and allow JavaScript execution to continue,
call <c>JsResult.confirm()</c> or <c>JsResult.cancel()</c> immediately
and then return <c>true</c>.</para>
<para>Note that if the <c>WebChromeClient</c> is set to be <c>null</c>,
or if <c>WebChromeClient</c> is not set at all, the default dialog will
be suppressed and the navigation will be resumed immediately.</para>
<para>Note that the default dialog does not inherit the <c>android.view.Display#FLAG_SECURE</c> flag from the parent window.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onJsBeforeUnload(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20android.webkit.JsResult)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onJsBeforeUnload(android.webkit.WebView, java.lang.String, java.lang.String, android.webkit.JsResult)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnJsConfirm">
<MemberSignature Language="C#" Value="public virtual bool OnJsConfirm (Android.Webkit.WebView? view, string? url, string? message, Android.Webkit.JsResult? result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnJsConfirm(class Android.Webkit.WebView view, string url, string message, class Android.Webkit.JsResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnJsConfirm(Android.Webkit.WebView,System.String,System.String,Android.Webkit.JsResult)" />
<MemberSignature Language="F#" Value="abstract member OnJsConfirm : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool
override this.OnJsConfirm : Android.Webkit.WebView * string * string * Android.Webkit.JsResult -> bool" Usage="webChromeClient.OnJsConfirm (view, url, message, result)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onJsConfirm", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsConfirm_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onJsConfirm", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsConfirm_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Webkit.WebView" />
<Parameter Name="url" Type="System.String" />
<Parameter Name="message" Type="System.String" />
<Parameter Name="result" Type="Android.Webkit.JsResult" />
</Parameters>
<Docs>
<param name="view">The WebView that initiated the callback.</param>
<param name="url">The url of the page requesting the dialog.</param>
<param name="message">Message to be displayed in the window.</param>
<param name="result">A JsResult used to send the user's response to
javascript.</param>
<summary>Notify the host application that the web page wants to display a
JavaScript <c>confirm()</c> dialog.</summary>
<returns>boolean <c>true</c> if the request is handled or ignored.
<c>false</c> if WebView needs to show the default dialog.</returns>
<remarks>
<para>Notify the host application that the web page wants to display a
JavaScript <c>confirm()</c> dialog.</para>
<para>The default behavior if this method returns <c>false</c> or is not
overridden is to show a dialog containing the message and suspend
JavaScript execution until the dialog is dismissed. The default dialog
will return <c>true</c> to the JavaScript <c>confirm()</c> code when
the user presses the 'confirm' button, and will return <c>false</c> to
the JavaScript code when the user presses the 'cancel' button or
dismisses the dialog.</para>
<para>To show a custom dialog, the app should return <c>true</c> from this
method, in which case the default dialog will not be shown and JavaScript
execution will be suspended. The app should call
<c>JsResult.confirm()</c> or <c>JsResult.cancel()</c> when the custom
dialog is dismissed.</para>
<para>To suppress the dialog and allow JavaScript execution to continue,
call <c>JsResult.confirm()</c> or <c>JsResult.cancel()</c> immediately
and then return <c>true</c>.</para>
<para>Note that if the <c>WebChromeClient</c> is set to be <c>null</c>,
or if <c>WebChromeClient</c> is not set at all, the default dialog will
be suppressed and the default value of <c>false</c> will be returned to
the JavaScript code immediately.</para>
<para>Note that the default dialog does not inherit the <c>android.view.Display#FLAG_SECURE</c> flag from the parent window.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onJsConfirm(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20android.webkit.JsResult)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onJsConfirm(android.webkit.WebView, java.lang.String, java.lang.String, android.webkit.JsResult)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnJsPrompt">
<MemberSignature Language="C#" Value="public virtual bool OnJsPrompt (Android.Webkit.WebView? view, string? url, string? message, string? defaultValue, Android.Webkit.JsPromptResult? result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnJsPrompt(class Android.Webkit.WebView view, string url, string message, string defaultValue, class Android.Webkit.JsPromptResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnJsPrompt(Android.Webkit.WebView,System.String,System.String,System.String,Android.Webkit.JsPromptResult)" />
<MemberSignature Language="F#" Value="abstract member OnJsPrompt : Android.Webkit.WebView * string * string * string * Android.Webkit.JsPromptResult -> bool
override this.OnJsPrompt : Android.Webkit.WebView * string * string * string * Android.Webkit.JsPromptResult -> bool" Usage="webChromeClient.OnJsPrompt (view, url, message, defaultValue, result)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onJsPrompt", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsPromptResult;)Z", "GetOnJsPrompt_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsPromptResult_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onJsPrompt", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsPromptResult;)Z", "GetOnJsPrompt_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsPromptResult_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Webkit.WebView" />
<Parameter Name="url" Type="System.String" />
<Parameter Name="message" Type="System.String" />
<Parameter Name="defaultValue" Type="System.String" />
<Parameter Name="result" Type="Android.Webkit.JsPromptResult" />
</Parameters>
<Docs>
<param name="view">The WebView that initiated the callback.</param>
<param name="url">The url of the page requesting the dialog.</param>
<param name="message">Message to be displayed in the window.</param>
<param name="defaultValue">The default value displayed in the prompt dialog.</param>
<param name="result">A JsPromptResult used to send the user's reponse to
javascript.</param>
<summary>Notify the host application that the web page wants to display a
JavaScript <c>prompt()</c> dialog.</summary>
<returns>boolean <c>true</c> if the request is handled or ignored.
<c>false</c> if WebView needs to show the default dialog.</returns>
<remarks>
<para>Notify the host application that the web page wants to display a
JavaScript <c>prompt()</c> dialog.</para>
<para>The default behavior if this method returns <c>false</c> or is not
overridden is to show a dialog containing the message and suspend
JavaScript execution until the dialog is dismissed. Once the dialog is
dismissed, JavaScript <c>prompt()</c> will return the string that the
user typed in, or null if the user presses the 'cancel' button.</para>
<para>To show a custom dialog, the app should return <c>true</c> from this
method, in which case the default dialog will not be shown and JavaScript
execution will be suspended. The app should call
<c>JsPromptResult.confirm(result)</c> when the custom dialog is
dismissed.</para>
<para>To suppress the dialog and allow JavaScript execution to continue,
call <c>JsPromptResult.confirm(result)</c> immediately and then
return <c>true</c>.</para>
<para>Note that if the <c>WebChromeClient</c> is set to be <c>null</c>,
or if <c>WebChromeClient</c> is not set at all, the default dialog will
be suppressed and <c>null</c> will be returned to the JavaScript code
immediately.</para>
<para>Note that the default dialog does not inherit the <c>android.view.Display#FLAG_SECURE</c> flag from the parent window.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onJsPrompt(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20android.webkit.JsPromptResult)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onJsPrompt(android.webkit.WebView, java.lang.String, java.lang.String, java.lang.String, android.webkit.JsPromptResult)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="OnJsTimeout">
<MemberSignature Language="C#" Value="public virtual bool OnJsTimeout ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool OnJsTimeout() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnJsTimeout" />
<MemberSignature Language="F#" Value="abstract member OnJsTimeout : unit -> bool
override this.OnJsTimeout : unit -> bool" Usage="webChromeClient.OnJsTimeout " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onJsTimeout", "()Z", "GetOnJsTimeoutHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onJsTimeout", "()Z", "GetOnJsTimeoutHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Tell the client that a JavaScript execution timeout has occured.</summary>
<returns>boolean Whether the JavaScript execution should be interrupted.</returns>
<remarks>
<para>Tell the client that a JavaScript execution timeout has occured. And the
client may decide whether or not to interrupt the execution. If the
client returns <c>true</c>, the JavaScript will be interrupted. If the client
returns <c>false</c>, the execution will continue. Note that in the case of
continuing execution, the timeout counter will be reset, and the callback
will continue to occur if the script does not finish at the next check
point.</para>
<para>This member is deprecated. This method is no longer supported and will not be invoked.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onJsTimeout()" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onJsTimeout()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 7" />
</Docs>
</Member>
<Member MemberName="OnPermissionRequest">
<MemberSignature Language="C#" Value="public virtual void OnPermissionRequest (Android.Webkit.PermissionRequest? request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnPermissionRequest(class Android.Webkit.PermissionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnPermissionRequest(Android.Webkit.PermissionRequest)" />
<MemberSignature Language="F#" Value="abstract member OnPermissionRequest : Android.Webkit.PermissionRequest -> unit
override this.OnPermissionRequest : Android.Webkit.PermissionRequest -> unit" Usage="webChromeClient.OnPermissionRequest request" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onPermissionRequest", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequest_Landroid_webkit_PermissionRequest_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onPermissionRequest", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequest_Landroid_webkit_PermissionRequest_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="Android.Webkit.PermissionRequest" />
</Parameters>
<Docs>
<param name="request">the PermissionRequest from current web content.</param>
<summary>Notify the host application that web content is requesting permission to
access the specified resources and the permission currently isn't granted
or denied.</summary>
<remarks>
<para>Notify the host application that web content is requesting permission to
access the specified resources and the permission currently isn't granted
or denied. The host application must invoke <c>PermissionRequest#grant(String[])</c>
or <c>PermissionRequest#deny()</c>.
If this method isn't overridden, the permission is denied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/webkit/WebChromeClient#onPermissionRequest(android.webkit.PermissionRequest)" title="Reference documentation">Java documentation for <code>android.webkit.WebChromeClient.onPermissionRequest(android.webkit.PermissionRequest)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="OnPermissionRequestCanceled">
<MemberSignature Language="C#" Value="public virtual void OnPermissionRequestCanceled (Android.Webkit.PermissionRequest? request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnPermissionRequestCanceled(class Android.Webkit.PermissionRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Webkit.WebChromeClient.OnPermissionRequestCanceled(Android.Webkit.PermissionRequest)" />
<MemberSignature Language="F#" Value="abstract member OnPermissionRequestCanceled : Android.Webkit.PermissionRequest -> unit
override this.OnPermissionRequestCanceled : Android.Webkit.PermissionRequest -> unit" Usage="webChromeClient.OnPermissionRequestCanceled request" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onPermissionRequestCanceled", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequestCanceled_Landroid_webkit_PermissionRequest_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onPermissionRequestCanceled", "(Landroid/webkit/PermissionRequest;)V", "GetOnPermissionRequestCanceled_Landroid_webkit_PermissionRequest_Handler")>]</AttributeName>
</Attribute>
</Attributes>