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
/
AppWidgetHostView.xml
901 lines (898 loc) · 63.4 KB
/
AppWidgetHostView.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
<Type Name="AppWidgetHostView" FullName="Android.Appwidget.AppWidgetHostView">
<TypeSignature Language="C#" Value="public class AppWidgetHostView : Android.Widget.FrameLayout" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AppWidgetHostView extends Android.Widget.FrameLayout" />
<TypeSignature Language="DocId" Value="T:Android.Appwidget.AppWidgetHostView" />
<TypeSignature Language="F#" Value="type AppWidgetHostView = class
 inherit FrameLayout" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Android.Widget.FrameLayout</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/appwidget/AppWidgetHostView", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/appwidget/AppWidgetHostView", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="3">
<summary>Provides the glue to show AppWidget views.</summary>
<remarks>
<para>Provides the glue to show AppWidget views. This class offers automatic animation
between updates, and will try recycling old views for each incoming
<c>RemoteViews</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView</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 3" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AppWidgetHostView (Android.Content.Context? context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.#ctor(Android.Content.Context)" />
<MemberSignature Language="F#" Value="new Android.Appwidget.AppWidgetHostView : Android.Content.Context -> Android.Appwidget.AppWidgetHostView" Usage="new Android.Appwidget.AppWidgetHostView context" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary>Create a host view.</summary>
<remarks>
<para>Create a host view. Uses default fade animations.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#AppWidgetHostView(android.content.Context)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.AppWidgetHostView(android.content.Context)</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 3" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected AppWidgetHostView (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.Appwidget.AppWidgetHostView.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Appwidget.AppWidgetHostView : nativeint * Android.Runtime.JniHandleOwnership -> Android.Appwidget.AppWidgetHostView" Usage="new Android.Appwidget.AppWidgetHostView (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=".ctor">
<MemberSignature Language="C#" Value="public AppWidgetHostView (Android.Content.Context? context, int animationIn, int animationOut);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.Context context, int32 animationIn, int32 animationOut) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.#ctor(Android.Content.Context,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="new Android.Appwidget.AppWidgetHostView : Android.Content.Context * int * int -> Android.Appwidget.AppWidgetHostView" Usage="new Android.Appwidget.AppWidgetHostView (context, animationIn, animationOut)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;II)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
<Parameter Name="animationIn" Type="System.Int32" />
<Parameter Name="animationOut" Type="System.Int32" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<param name="animationIn">Resource ID of in animation to use</param>
<param name="animationOut">Resource ID of out animation to use</param>
<summary>Create a host view.</summary>
<remarks>
<para>Create a host view. Uses specified animations when pushing
<c>#updateAppWidget(RemoteViews)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#AppWidgetHostView(android.content.Context,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.AppWidgetHostView(android.content.Context, int, int)</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 3" />
</Docs>
</Member>
<Member MemberName="AppWidgetId">
<MemberSignature Language="C#" Value="public virtual int AppWidgetId { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 AppWidgetId" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.AppWidgetId" />
<MemberSignature Language="F#" Value="member this.AppWidgetId : int" Usage="Android.Appwidget.AppWidgetHostView.AppWidgetId" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAppWidgetId", "()I", "GetGetAppWidgetIdHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAppWidgetId", "()I", "GetGetAppWidgetIdHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>
</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>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName="AppWidgetInfo">
<MemberSignature Language="C#" Value="public virtual Android.Appwidget.AppWidgetProviderInfo? AppWidgetInfo { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Appwidget.AppWidgetProviderInfo AppWidgetInfo" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.AppWidgetInfo" />
<MemberSignature Language="F#" Value="member this.AppWidgetInfo : Android.Appwidget.AppWidgetProviderInfo" Usage="Android.Appwidget.AppWidgetHostView.AppWidgetInfo" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAppWidgetInfo", "()Landroid/appwidget/AppWidgetProviderInfo;", "GetGetAppWidgetInfoHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAppWidgetInfo", "()Landroid/appwidget/AppWidgetProviderInfo;", "GetGetAppWidgetInfoHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Appwidget.AppWidgetProviderInfo</ReturnType>
</ReturnValue>
<Docs>
<summary>
</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>
<since version="Added in API level 3" />
</Docs>
</Member>
<Member MemberName="DefaultView">
<MemberSignature Language="C#" Value="protected virtual Android.Views.View? DefaultView { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Views.View DefaultView" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.DefaultView" />
<MemberSignature Language="F#" Value="member this.DefaultView : Android.Views.View" Usage="Android.Appwidget.AppWidgetHostView.DefaultView" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDefaultView", "()Landroid/view/View;", "GetGetDefaultViewHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDefaultView", "()Landroid/view/View;", "GetGetDefaultViewHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.View</ReturnType>
</ReturnValue>
<Docs>
<summary>Inflate and return the default layout requested by AppWidget provider.</summary>
<value>To be added.</value>
<remarks>
<para>Inflate and return the default layout requested by AppWidget provider.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#getDefaultView()" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.getDefaultView()</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 3" />
</Docs>
</Member>
<Member MemberName="ErrorView">
<MemberSignature Language="C#" Value="protected virtual Android.Views.View? ErrorView { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Views.View ErrorView" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.ErrorView" />
<MemberSignature Language="F#" Value="member this.ErrorView : Android.Views.View" Usage="Android.Appwidget.AppWidgetHostView.ErrorView" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getErrorView", "()Landroid/view/View;", "GetGetErrorViewHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getErrorView", "()Landroid/view/View;", "GetGetErrorViewHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Views.View</ReturnType>
</ReturnValue>
<Docs>
<summary>Inflate and return a view that represents an error state.</summary>
<value>To be added.</value>
<remarks>
<para>Inflate and return a view that represents an error state.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#getErrorView()" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.getErrorView()</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 3" />
</Docs>
</Member>
<Member MemberName="GetDefaultPaddingForWidget">
<MemberSignature Language="C#" Value="public static Android.Graphics.Rect? GetDefaultPaddingForWidget (Android.Content.Context? context, Android.Content.ComponentName? component, Android.Graphics.Rect? padding);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Graphics.Rect GetDefaultPaddingForWidget(class Android.Content.Context context, class Android.Content.ComponentName component, class Android.Graphics.Rect padding) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.GetDefaultPaddingForWidget(Android.Content.Context,Android.Content.ComponentName,Android.Graphics.Rect)" />
<MemberSignature Language="F#" Value="static member GetDefaultPaddingForWidget : Android.Content.Context * Android.Content.ComponentName * Android.Graphics.Rect -> Android.Graphics.Rect" Usage="Android.Appwidget.AppWidgetHostView.GetDefaultPaddingForWidget (context, component, padding)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getDefaultPaddingForWidget", "(Landroid/content/Context;Landroid/content/ComponentName;Landroid/graphics/Rect;)Landroid/graphics/Rect;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getDefaultPaddingForWidget", "(Landroid/content/Context;Landroid/content/ComponentName;Landroid/graphics/Rect;)Landroid/graphics/Rect;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Graphics.Rect</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
<Parameter Name="component" Type="Android.Content.ComponentName" />
<Parameter Name="padding" Type="Android.Graphics.Rect" />
</Parameters>
<Docs>
<param name="context">the current context</param>
<param name="component">the component name of the widget</param>
<param name="padding">Rect in which to place the output, if null, a new Rect will be allocated and
returned</param>
<summary>As of ICE_CREAM_SANDWICH we are automatically adding padding to widgets targeting
ICE_CREAM_SANDWICH and higher.</summary>
<returns>default padding for this widget, in pixels</returns>
<remarks>
<para>As of ICE_CREAM_SANDWICH we are automatically adding padding to widgets targeting
ICE_CREAM_SANDWICH and higher. The new widget design guidelines strongly recommend
that widget developers do not add extra padding to their widgets. This will help
achieve consistency among widgets.</para>
<para>Note: this method is only needed by developers of AppWidgetHosts. The method is provided in
order for the AppWidgetHost to account for the automatic padding when computing the number
of cells to allocate to a particular widget.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#getDefaultPaddingForWidget(android.content.Context,%20android.content.ComponentName,%20android.graphics.Rect)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.getDefaultPaddingForWidget(android.content.Context, android.content.ComponentName, android.graphics.Rect)</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 15" />
</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.Appwidget.AppWidgetHostView.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Appwidget.AppWidgetHostView.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="PrepareView">
<MemberSignature Language="C#" Value="protected virtual void PrepareView (Android.Views.View? view);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void PrepareView(class Android.Views.View view) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.PrepareView(Android.Views.View)" />
<MemberSignature Language="F#" Value="abstract member PrepareView : Android.Views.View -> unit
override this.PrepareView : Android.Views.View -> unit" Usage="appWidgetHostView.PrepareView view" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("prepareView", "(Landroid/view/View;)V", "GetPrepareView_Landroid_view_View_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("prepareView", "(Landroid/view/View;)V", "GetPrepareView_Landroid_view_View_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="view" Type="Android.Views.View" />
</Parameters>
<Docs>
<param name="view">To be added.</param>
<summary>Prepare the given view to be shown.</summary>
<remarks>
<para>Prepare the given view to be shown. This might include adjusting
<c>FrameLayout.LayoutParams</c> before inserting.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#prepareView(android.view.View)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.prepareView(android.view.View)</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 3" />
</Docs>
</Member>
<Member MemberName="ResetColorResources">
<MemberSignature Language="C#" Value="public virtual void ResetColorResources ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ResetColorResources() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.ResetColorResources" />
<MemberSignature Language="F#" Value="abstract member ResetColorResources : unit -> unit
override this.ResetColorResources : unit -> unit" Usage="appWidgetHostView.ResetColorResources " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("resetColorResources", "()V", "GetResetColorResourcesHandler", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("resetColorResources", "()V", "GetResetColorResourcesHandler", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reset the dynamically overloaded resources, reverting to the default values for
all the colors.</summary>
<remarks>
<para>Reset the dynamically overloaded resources, reverting to the default values for
all the colors.</para>
<para>If colors were defined before, calling this method will trigger a full re-inflation of the
App Widget.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#resetColorResources()" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.resetColorResources()</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="SetAppWidget">
<MemberSignature Language="C#" Value="public virtual void SetAppWidget (int appWidgetId, Android.Appwidget.AppWidgetProviderInfo? info);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAppWidget(int32 appWidgetId, class Android.Appwidget.AppWidgetProviderInfo info) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.SetAppWidget(System.Int32,Android.Appwidget.AppWidgetProviderInfo)" />
<MemberSignature Language="F#" Value="abstract member SetAppWidget : int * Android.Appwidget.AppWidgetProviderInfo -> unit
override this.SetAppWidget : int * Android.Appwidget.AppWidgetProviderInfo -> unit" Usage="appWidgetHostView.SetAppWidget (appWidgetId, info)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setAppWidget", "(ILandroid/appwidget/AppWidgetProviderInfo;)V", "GetSetAppWidget_ILandroid_appwidget_AppWidgetProviderInfo_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setAppWidget", "(ILandroid/appwidget/AppWidgetProviderInfo;)V", "GetSetAppWidget_ILandroid_appwidget_AppWidgetProviderInfo_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="appWidgetId" Type="System.Int32" />
<Parameter Name="info" Type="Android.Appwidget.AppWidgetProviderInfo" />
</Parameters>
<Docs>
<param name="appWidgetId">To be added.</param>
<param name="info">To be added.</param>
<summary>Set the AppWidget that will be displayed by this view.</summary>
<remarks>
<para>Set the AppWidget that will be displayed by this view. This method also adds default padding
to widgets, as described in <c>#getDefaultPaddingForWidget(Context, ComponentName, Rect)</c>
and can be overridden in order to add custom padding.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#setAppWidget(int,%20android.appwidget.AppWidgetProviderInfo)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.setAppWidget(int, android.appwidget.AppWidgetProviderInfo)</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 3" />
</Docs>
</Member>
<Member MemberName="SetColorResources">
<MemberSignature Language="C#" Value="public virtual void SetColorResources (Android.Util.SparseIntArray colorMapping);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetColorResources(class Android.Util.SparseIntArray colorMapping) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.SetColorResources(Android.Util.SparseIntArray)" />
<MemberSignature Language="F#" Value="abstract member SetColorResources : Android.Util.SparseIntArray -> unit
override this.SetColorResources : Android.Util.SparseIntArray -> unit" Usage="appWidgetHostView.SetColorResources colorMapping" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setColorResources", "(Landroid/util/SparseIntArray;)V", "GetSetColorResources_Landroid_util_SparseIntArray_Handler", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setColorResources", "(Landroid/util/SparseIntArray;)V", "GetSetColorResources_Landroid_util_SparseIntArray_Handler", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="colorMapping" Type="Android.Util.SparseIntArray" />
</Parameters>
<Docs>
<param name="colorMapping">To be added.</param>
<summary>Set the dynamically overloaded color resources.</summary>
<remarks>
<para>Set the dynamically overloaded color resources.
<c>colorMapping</c> maps a predefined set of color resources to their ARGB
representation. Any entry not in the predefined set of colors will be ignored.
Calling this method will trigger a full re-inflation of the App Widget.
The color resources that can be overloaded are the ones whose name is prefixed with
<c>system_neutral</c> or <c>system_accent</c>, for example
<c>android.R.color#system_neutral1_500</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#setColorResources(android.util.SparseIntArray)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.setColorResources(android.util.SparseIntArray)</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="SetExecutor">
<MemberSignature Language="C#" Value="public virtual void SetExecutor (Java.Util.Concurrent.IExecutor? executor);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetExecutor(class Java.Util.Concurrent.IExecutor executor) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.SetExecutor(Java.Util.Concurrent.IExecutor)" />
<MemberSignature Language="F#" Value="abstract member SetExecutor : Java.Util.Concurrent.IExecutor -> unit
override this.SetExecutor : Java.Util.Concurrent.IExecutor -> unit" Usage="appWidgetHostView.SetExecutor executor" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setExecutor", "(Ljava/util/concurrent/Executor;)V", "GetSetExecutor_Ljava_util_concurrent_Executor_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setExecutor", "(Ljava/util/concurrent/Executor;)V", "GetSetExecutor_Ljava_util_concurrent_Executor_Handler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="executor" Type="Java.Util.Concurrent.IExecutor" />
</Parameters>
<Docs>
<param name="executor">the executor to use or null.</param>
<summary>Sets an executor which can be used for asynchronously inflating.</summary>
<remarks>
<para>Sets an executor which can be used for asynchronously inflating. CPU intensive tasks like
view inflation or loading images will be performed on the executor. The updates will still
be applied on the UI thread.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#setExecutor(java.util.concurrent.Executor)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.setExecutor(java.util.concurrent.Executor)</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="SetOnLightBackground">
<MemberSignature Language="C#" Value="public virtual void SetOnLightBackground (bool onLightBackground);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetOnLightBackground(bool onLightBackground) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.SetOnLightBackground(System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member SetOnLightBackground : bool -> unit
override this.SetOnLightBackground : bool -> unit" Usage="appWidgetHostView.SetOnLightBackground onLightBackground" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setOnLightBackground", "(Z)V", "GetSetOnLightBackground_ZHandler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="onLightBackground" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="onLightBackground">To be added.</param>
<summary>Sets whether the widget is being displayed on a light/white background and use an
alternate UI if available.</summary>
<remarks>
<para>Sets whether the widget is being displayed on a light/white background and use an
alternate UI if available.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#setOnLightBackground(boolean)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.setOnLightBackground(boolean)</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="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Appwidget.AppWidgetHostView.ThresholdClass" />
<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>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</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="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Appwidget.AppWidgetHostView.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Appwidget.AppWidgetHostView.ThresholdType" />
<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>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</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="UpdateAppWidget">
<MemberSignature Language="C#" Value="public virtual void UpdateAppWidget (Android.Widget.RemoteViews? remoteViews);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateAppWidget(class Android.Widget.RemoteViews remoteViews) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.UpdateAppWidget(Android.Widget.RemoteViews)" />
<MemberSignature Language="F#" Value="abstract member UpdateAppWidget : Android.Widget.RemoteViews -> unit
override this.UpdateAppWidget : Android.Widget.RemoteViews -> unit" Usage="appWidgetHostView.UpdateAppWidget remoteViews" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="remoteViews" Type="Android.Widget.RemoteViews" />
</Parameters>
<Docs>
<param name="remoteViews">To be added.</param>
<summary>Process a set of <c>RemoteViews</c> coming in as an update from the
AppWidget provider.</summary>
<remarks>
<para>Process a set of <c>RemoteViews</c> coming in as an update from the
AppWidget provider. Will animate into these new views as needed</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#updateAppWidget(android.widget.RemoteViews)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.updateAppWidget(android.widget.RemoteViews)</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 3" />
</Docs>
</Member>
<Member MemberName="UpdateAppWidgetOptions">
<MemberSignature Language="C#" Value="public virtual void UpdateAppWidgetOptions (Android.OS.Bundle? options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateAppWidgetOptions(class Android.OS.Bundle options) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.UpdateAppWidgetOptions(Android.OS.Bundle)" />
<MemberSignature Language="F#" Value="abstract member UpdateAppWidgetOptions : Android.OS.Bundle -> unit
override this.UpdateAppWidgetOptions : Android.OS.Bundle -> unit" Usage="appWidgetHostView.UpdateAppWidgetOptions options" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("updateAppWidgetOptions", "(Landroid/os/Bundle;)V", "GetUpdateAppWidgetOptions_Landroid_os_Bundle_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("updateAppWidgetOptions", "(Landroid/os/Bundle;)V", "GetUpdateAppWidgetOptions_Landroid_os_Bundle_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="options" Type="Android.OS.Bundle" />
</Parameters>
<Docs>
<param name="options">The bundle of options information.</param>
<summary>Specify some extra information for the widget provider.</summary>
<remarks>
<para>Specify some extra information for the widget provider. Causes a callback to the
AppWidgetProvider.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#updateAppWidgetOptions(android.os.Bundle)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.updateAppWidgetOptions(android.os.Bundle)</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 16" />
<altmember cref="M:Android.Appwidget.AppWidgetProvider.OnAppWidgetOptionsChanged(Android.Content.Context, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager)" />
</Docs>
</Member>
<Member MemberName="UpdateAppWidgetSize">
<MemberSignature Language="C#" Value="public virtual void UpdateAppWidgetSize (Android.OS.Bundle newOptions, System.Collections.Generic.IList<Android.Util.SizeF> sizes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateAppWidgetSize(class Android.OS.Bundle newOptions, class System.Collections.Generic.IList`1<class Android.Util.SizeF> sizes) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.UpdateAppWidgetSize(Android.OS.Bundle,System.Collections.Generic.IList{Android.Util.SizeF})" />
<MemberSignature Language="F#" Value="abstract member UpdateAppWidgetSize : Android.OS.Bundle * System.Collections.Generic.IList<Android.Util.SizeF> -> unit
override this.UpdateAppWidgetSize : Android.OS.Bundle * System.Collections.Generic.IList<Android.Util.SizeF> -> unit" Usage="appWidgetHostView.UpdateAppWidgetSize (newOptions, sizes)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("updateAppWidgetSize", "(Landroid/os/Bundle;Ljava/util/List;)V", "GetUpdateAppWidgetSize_Landroid_os_Bundle_Ljava_util_List_Handler", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("updateAppWidgetSize", "(Landroid/os/Bundle;Ljava/util/List;)V", "GetUpdateAppWidgetSize_Landroid_os_Bundle_Ljava_util_List_Handler", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newOptions" Type="Android.OS.Bundle" />
<Parameter Name="sizes" Type="System.Collections.Generic.IList<Android.Util.SizeF>" />
</Parameters>
<Docs>
<param name="newOptions">The bundle of options, in addition to the size information.</param>
<param name="sizes">Sizes, in dips, the widget may be displayed at without calling the provider
again. Typically, this will be size of the widget in landscape and portrait.
On some foldables, this might include the size on the outer and inner screens.</param>
<summary>Provide guidance about the size of this widget to the AppWidgetManager.</summary>
<remarks>
<para>Provide guidance about the size of this widget to the AppWidgetManager. The sizes should
correspond to the full area the AppWidgetHostView is given. Padding added by the framework
will be accounted for automatically.</para>
<para>This method will update the option bundle with the list of sizes and the min/max bounds for
width and height.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#updateAppWidgetSize(android.os.Bundle,%20java.util.List%3Candroid.util.SizeF%3E)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.updateAppWidgetSize(android.os.Bundle, java.util.List<android.util.SizeF>)</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="UpdateAppWidgetSize">
<MemberSignature Language="C#" Value="public virtual void UpdateAppWidgetSize (Android.OS.Bundle? newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UpdateAppWidgetSize(class Android.OS.Bundle newOptions, int32 minWidth, int32 minHeight, int32 maxWidth, int32 maxHeight) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Appwidget.AppWidgetHostView.UpdateAppWidgetSize(Android.OS.Bundle,System.Int32,System.Int32,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member UpdateAppWidgetSize : Android.OS.Bundle * int * int * int * int -> unit
override this.UpdateAppWidgetSize : Android.OS.Bundle * int * int * int * int -> unit" Usage="appWidgetHostView.UpdateAppWidgetSize (newOptions, minWidth, minHeight, maxWidth, maxHeight)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("updateAppWidgetSize", "(Landroid/os/Bundle;IIII)V", "GetUpdateAppWidgetSize_Landroid_os_Bundle_IIIIHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("updateAppWidgetSize", "(Landroid/os/Bundle;IIII)V", "GetUpdateAppWidgetSize_Landroid_os_Bundle_IIIIHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="newOptions" Type="Android.OS.Bundle" />
<Parameter Name="minWidth" Type="System.Int32" />
<Parameter Name="minHeight" Type="System.Int32" />
<Parameter Name="maxWidth" Type="System.Int32" />
<Parameter Name="maxHeight" Type="System.Int32" />
</Parameters>
<Docs>
<param name="newOptions">The bundle of options, in addition to the size information,
can be null.</param>
<param name="minWidth">The minimum width in dips that the widget will be displayed at.</param>
<param name="minHeight">The maximum height in dips that the widget will be displayed at.</param>
<param name="maxWidth">The maximum width in dips that the widget will be displayed at.</param>
<param name="maxHeight">The maximum height in dips that the widget will be displayed at.</param>
<summary>Provide guidance about the size of this widget to the AppWidgetManager.</summary>
<remarks>
<para>Provide guidance about the size of this widget to the AppWidgetManager. The widths and
heights should correspond to the full area the AppWidgetHostView is given. Padding added by
the framework will be accounted for automatically. This information gets embedded into the
AppWidget options and causes a callback to the AppWidgetProvider. In addition, the list of
sizes is explicitly set to an empty list.</para>
<para>This member is deprecated. use <c>AppWidgetHostView#updateAppWidgetSize(Bundle, List)</c> instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/appwidget/AppWidgetHostView#updateAppWidgetSize(android.os.Bundle,%20int,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.appwidget.AppWidgetHostView.updateAppWidgetSize(android.os.Bundle, int, int, int, int)</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 16" />
<altmember cref="M:Android.Appwidget.AppWidgetProvider.OnAppWidgetOptionsChanged(Android.Content.Context, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager, Android.Appwidget.AppWidgetManager)" />
</Docs>
</Member>
</Members>
</Type>