-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathContextWrapper.xml
More file actions
4679 lines (4678 loc) · 394 KB
/
Copy pathContextWrapper.xml
File metadata and controls
4679 lines (4678 loc) · 394 KB
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="ContextWrapper" FullName="Android.Content.ContextWrapper">
<TypeSignature Language="C#" Value="public class ContextWrapper : Android.Content.Context" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ContextWrapper extends Android.Content.Context" />
<TypeSignature Language="DocId" Value="T:Android.Content.ContextWrapper" />
<TypeSignature Language="F#" Value="type ContextWrapper = class
 inherit Context" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Android.Content.Context</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/content/ContextWrapper", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/content/ContextWrapper", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Proxying implementation of Context that simply delegates all of its calls to
another Context.</summary>
<remarks>
<para>Proxying implementation of Context that simply delegates all of its calls to
another Context. Can be subclassed to modify behavior without changing
the original Context.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper</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>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ContextWrapper (Android.Content.Context? base);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.Context base) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.#ctor(Android.Content.Context)" />
<MemberSignature Language="F#" Value="new Android.Content.ContextWrapper : Android.Content.Context -> Android.Content.ContextWrapper" Usage="new Android.Content.ContextWrapper base" />
<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="base" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="base">The base context to wrap.</param>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#ContextWrapper(android.content.Context)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.ContextWrapper(android.content.Context)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ContextWrapper (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.Content.ContextWrapper.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Content.ContextWrapper : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.ContextWrapper" Usage="new Android.Content.ContextWrapper (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="ApplicationContext">
<MemberSignature Language="C#" Value="public override Android.Content.Context? ApplicationContext { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.Context ApplicationContext" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.ApplicationContext" />
<MemberSignature Language="F#" Value="member this.ApplicationContext : Android.Content.Context" Usage="Android.Content.ContextWrapper.ApplicationContext" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getApplicationContext", "()Landroid/content/Context;", "GetGetApplicationContextHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getApplicationContext", "()Landroid/content/Context;", "GetGetApplicationContextHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Context</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the context of the single, global Application object of the
current process.</summary>
<value>Return the context of the single, global Application object of the current process. This generally should only be used if you need a Context whose lifecycle is separate from the current context, that is tied to the lifetime of the process rather than the current component. Consider for example how this interacts with registerReceiver(BroadcastReceiver,IntentFilter) : If used from an Activity context, the receiver is being registered within that activity. This means that you are expected to unregister before the activity is done being destroyed; in fact if you do not do so, the framework will clean up your leaked registration as it removes the activity and log an error. Thus, if you use the Activity context to register a receiver that is static (global to the process, not associated with an Activity instance) then that registration will be removed on you at whatever point the activity you used is destroyed. If used from the Context returned here, the receiver is being registered with the global state associated with your application. Thus it will never be unregistered for you. This is necessary if the receiver is associated with static data, not a particular component. However using the ApplicationContext elsewhere can easily lead to serious leaks if you forget to unregister, unbind, etc.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getApplicationContext()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getApplicationContext()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ApplicationInfo">
<MemberSignature Language="C#" Value="public override Android.Content.PM.ApplicationInfo? ApplicationInfo { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.PM.ApplicationInfo ApplicationInfo" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.ApplicationInfo" />
<MemberSignature Language="F#" Value="member this.ApplicationInfo : Android.Content.PM.ApplicationInfo" Usage="Android.Content.ContextWrapper.ApplicationInfo" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getApplicationInfo", "()Landroid/content/pm/ApplicationInfo;", "GetGetApplicationInfoHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getApplicationInfo", "()Landroid/content/pm/ApplicationInfo;", "GetGetApplicationInfoHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.ApplicationInfo</ReturnType>
</ReturnValue>
<Docs>
<summary>Return the full application info for this context's package.</summary>
<value>Return the full application info for this context's package.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getApplicationInfo()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getApplicationInfo()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 4" />
</Docs>
</Member>
<Member MemberName="Assets">
<MemberSignature Language="C#" Value="public override Android.Content.Res.AssetManager? Assets { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.Res.AssetManager Assets" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.Assets" />
<MemberSignature Language="F#" Value="member this.Assets : Android.Content.Res.AssetManager" Usage="Android.Content.ContextWrapper.Assets" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAssets", "()Landroid/content/res/AssetManager;", "GetGetAssetsHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAssets", "()Landroid/content/res/AssetManager;", "GetGetAssetsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Res.AssetManager</ReturnType>
</ReturnValue>
<Docs>
<summary>Return an AssetManager instance for your application's package.</summary>
<value>an AssetManager instance for the application's package</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getAssets()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getAssets()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="AttachBaseContext">
<MemberSignature Language="C#" Value="protected virtual void AttachBaseContext (Android.Content.Context? base);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void AttachBaseContext(class Android.Content.Context base) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.AttachBaseContext(Android.Content.Context)" />
<MemberSignature Language="F#" Value="abstract member AttachBaseContext : Android.Content.Context -> unit
override this.AttachBaseContext : Android.Content.Context -> unit" Usage="contextWrapper.AttachBaseContext base" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("attachBaseContext", "(Landroid/content/Context;)V", "GetAttachBaseContext_Landroid_content_Context_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("attachBaseContext", "(Landroid/content/Context;)V", "GetAttachBaseContext_Landroid_content_Context_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="base" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="base">The new base context for this wrapper.</param>
<summary>Set the base context for this ContextWrapper.</summary>
<remarks>
<para>Set the base context for this ContextWrapper. All calls will then be
delegated to the base context. Throws
IllegalStateException if a base context has already been set.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#attachBaseContext(android.content.Context)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.attachBaseContext(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 1" />
</Docs>
</Member>
<Member MemberName="BaseContext">
<MemberSignature Language="C#" Value="public virtual Android.Content.Context? BaseContext { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.Context BaseContext" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.BaseContext" />
<MemberSignature Language="F#" Value="member this.BaseContext : Android.Content.Context" Usage="Android.Content.ContextWrapper.BaseContext" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getBaseContext", "()Landroid/content/Context;", "GetGetBaseContextHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getBaseContext", "()Landroid/content/Context;", "GetGetBaseContextHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Context</ReturnType>
</ReturnValue>
<Docs>
<summary>
</summary>
<value>the base context as set by the constructor or setBaseContext</value>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getBaseContext()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getBaseContext()</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="BindService">
<MemberSignature Language="C#" Value="public override bool BindService (Android.Content.Intent? service, Android.Content.IServiceConnection? conn, Android.Content.Bind flags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool BindService(class Android.Content.Intent service, class Android.Content.IServiceConnection conn, valuetype Android.Content.Bind flags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.BindService(Android.Content.Intent,Android.Content.IServiceConnection,Android.Content.Bind)" />
<MemberSignature Language="F#" Value="override this.BindService : Android.Content.Intent * Android.Content.IServiceConnection * Android.Content.Bind -> bool" Usage="contextWrapper.BindService (service, conn, flags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("bindService", "(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z", "GetBindService_Landroid_content_Intent_Landroid_content_ServiceConnection_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("bindService", "(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z", "GetBindService_Landroid_content_Intent_Landroid_content_ServiceConnection_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="service" Type="Android.Content.Intent" />
<Parameter Name="conn" Type="Android.Content.IServiceConnection" />
<Parameter Name="flags" Type="Android.Content.Bind">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="service">Identifies the service to connect to. The Intent may
specify either an explicit component name, or a logical
description (action, category, etc) to match an
<see cref="T:Android.Content.IntentFilter" /> published by a service.</param>
<param name="conn">Receives information as the service is started and stopped.
This must be a valid ServiceConnection object; it must not be null.</param>
<param name="flags">Operation options for the binding. May be 0,
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_AUTO_CREATE';scope=Xamarin" title="Android.Content.Context.BIND_AUTO_CREATE">Android.Content.Context.BIND_AUTO_CREATE</a></format>, <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_DEBUG_UNBIND';scope=Xamarin" title="Android.Content.Context.BIND_DEBUG_UNBIND">Android.Content.Context.BIND_DEBUG_UNBIND</a></format>,
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_NOT_FOREGROUND';scope=Xamarin" title="Android.Content.Context.BIND_NOT_FOREGROUND">Android.Content.Context.BIND_NOT_FOREGROUND</a></format>, <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_ABOVE_CLIENT';scope=Xamarin" title="Android.Content.Context.BIND_ABOVE_CLIENT">Android.Content.Context.BIND_ABOVE_CLIENT</a></format>,
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_ALLOW_OOM_MANAGEMENT';scope=Xamarin" title="Android.Content.Context.BIND_ALLOW_OOM_MANAGEMENT">Android.Content.Context.BIND_ALLOW_OOM_MANAGEMENT</a></format>, or
<format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search='Android Content Context BIND_WAIVE_PRIORITY';scope=Xamarin" title="Android.Content.Context.BIND_WAIVE_PRIORITY">Android.Content.Context.BIND_WAIVE_PRIORITY</a></format>.</param>
<summary>Connect to an application service, creating it if needed.</summary>
<returns>true if the system is in the process of bringing up a service that your client has permission to bind to; false if the system couldn't find the service or if your client doesn't have permission to bind to it. Regardless of the return value, you should later call unbindService(ServiceConnection) to release the connection.</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#bindService(android.content.Intent,%20android.content.ServiceConnection,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.bindService(android.content.Intent, android.content.ServiceConnection, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CacheDir">
<MemberSignature Language="C#" Value="public override Java.IO.File? CacheDir { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.IO.File CacheDir" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.CacheDir" />
<MemberSignature Language="F#" Value="member this.CacheDir : Java.IO.File" Usage="Android.Content.ContextWrapper.CacheDir" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCacheDir", "()Ljava/io/File;", "GetGetCacheDirHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCacheDir", "()Ljava/io/File;", "GetGetCacheDirHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.IO.File</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the absolute path to the application specific cache directory
on the filesystem.</summary>
<value>Returns the absolute path to the application specific cache directory on the filesystem. The system will automatically delete files in this directory as disk space is needed elsewhere on the device. The system will always delete older files first, as reported by File.lastModified() . If desired, you can exert more control over how files are deleted using StorageManager.setCacheBehaviorGroup(File,boolean) and StorageManager.setCacheBehaviorTombstone(File,boolean) . Apps are strongly encouraged to keep their usage of cache space below the quota returned by StorageManager.getCacheQuotaBytes(java.util.UUID) . If your app goes above this quota, your cached files will be some of the first to be deleted when additional disk space is needed. Conversely, if your app stays under this quota, your cached files will be some of the last to be deleted when additional disk space is needed. Note that your cache quota will change over time depending on how frequently the user interacts with your app, and depending on how much system-wide disk space is used. The returned path may change over time if the calling app is moved to an adopted storage device, so only relative paths should be persisted. Apps require no extra permissions to read or write to the returned path, since this path lives in their private storage. Returns File The path of the directory holding application cache files.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getCacheDir()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getCacheDir()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckCallingOrSelfPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckCallingOrSelfPermission (string? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckCallingOrSelfPermission(string permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckCallingOrSelfPermission(System.String)" />
<MemberSignature Language="F#" Value="override this.CheckCallingOrSelfPermission : string -> Android.Content.PM.Permission" Usage="contextWrapper.CheckCallingOrSelfPermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkCallingOrSelfPermission", "(Ljava/lang/String;)I", "GetCheckCallingOrSelfPermission_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkCallingOrSelfPermission", "(Ljava/lang/String;)I", "GetCheckCallingOrSelfPermission_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="System.String" />
</Parameters>
<Docs>
<param name="permission">The name of the permission being checked.</param>
<summary>Determine whether the calling process of an IPC <i>or you</i> have been
granted a particular permission.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkCallingOrSelfPermission(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkCallingOrSelfPermission(java.lang.String)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckCallingOrSelfUriPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckCallingOrSelfUriPermission (Android.Net.Uri? uri, Android.Content.ActivityFlags modeFlags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckCallingOrSelfUriPermission(class Android.Net.Uri uri, valuetype Android.Content.ActivityFlags modeFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckCallingOrSelfUriPermission(Android.Net.Uri,Android.Content.ActivityFlags)" />
<MemberSignature Language="F#" Value="override this.CheckCallingOrSelfUriPermission : Android.Net.Uri * Android.Content.ActivityFlags -> Android.Content.PM.Permission" Usage="contextWrapper.CheckCallingOrSelfUriPermission (uri, modeFlags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkCallingOrSelfUriPermission", "(Landroid/net/Uri;I)I", "GetCheckCallingOrSelfUriPermission_Landroid_net_Uri_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkCallingOrSelfUriPermission", "(Landroid/net/Uri;I)I", "GetCheckCallingOrSelfUriPermission_Landroid_net_Uri_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="modeFlags" Type="Android.Content.ActivityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="uri">The uri that is being checked.</param>
<param name="modeFlags">The type of access to grant. May be one or both of
<see cref="F:Android.Content.ActivityFlags.GrantReadUriPermission" tool="ReplaceLinkValue" /> or
<see cref="F:Android.Content.ActivityFlags.GrantWriteUriPermission" tool="ReplaceLinkValue" />.</param>
<summary>Determine whether the calling process of an IPC <i>or you</i> has been granted
permission to access a specific URI.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkCallingOrSelfUriPermission(android.net.Uri,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkCallingOrSelfUriPermission(android.net.Uri, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckCallingPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckCallingPermission (string? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckCallingPermission(string permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckCallingPermission(System.String)" />
<MemberSignature Language="F#" Value="override this.CheckCallingPermission : string -> Android.Content.PM.Permission" Usage="contextWrapper.CheckCallingPermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkCallingPermission", "(Ljava/lang/String;)I", "GetCheckCallingPermission_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkCallingPermission", "(Ljava/lang/String;)I", "GetCheckCallingPermission_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="System.String" />
</Parameters>
<Docs>
<param name="permission">The name of the permission being checked.</param>
<summary>Determine whether the calling process of an IPC you are handling has been
granted a particular permission.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkCallingPermission(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkCallingPermission(java.lang.String)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckCallingUriPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckCallingUriPermission (Android.Net.Uri? uri, Android.Content.ActivityFlags modeFlags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckCallingUriPermission(class Android.Net.Uri uri, valuetype Android.Content.ActivityFlags modeFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckCallingUriPermission(Android.Net.Uri,Android.Content.ActivityFlags)" />
<MemberSignature Language="F#" Value="override this.CheckCallingUriPermission : Android.Net.Uri * Android.Content.ActivityFlags -> Android.Content.PM.Permission" Usage="contextWrapper.CheckCallingUriPermission (uri, modeFlags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkCallingUriPermission", "(Landroid/net/Uri;I)I", "GetCheckCallingUriPermission_Landroid_net_Uri_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkCallingUriPermission", "(Landroid/net/Uri;I)I", "GetCheckCallingUriPermission_Landroid_net_Uri_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="modeFlags" Type="Android.Content.ActivityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="uri">The uri that is being checked.</param>
<param name="modeFlags">The type of access to grant. May be one or both of
<see cref="F:Android.Content.ActivityFlags.GrantReadUriPermission" tool="ReplaceLinkValue" /> or
<see cref="F:Android.Content.ActivityFlags.GrantWriteUriPermission" tool="ReplaceLinkValue" />.</param>
<summary>Determine whether the calling process and user ID has been
granted permission to access a specific URI.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkCallingUriPermission(android.net.Uri,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkCallingUriPermission(android.net.Uri, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckPermission (string? permission, int pid, int uid);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckPermission(string permission, int32 pid, int32 uid) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckPermission(System.String,System.Int32,System.Int32)" />
<MemberSignature Language="F#" Value="override this.CheckPermission : string * int * int -> Android.Content.PM.Permission" Usage="contextWrapper.CheckPermission (permission, pid, uid)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkPermission", "(Ljava/lang/String;II)I", "GetCheckPermission_Ljava_lang_String_IIHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkPermission", "(Ljava/lang/String;II)I", "GetCheckPermission_Ljava_lang_String_IIHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="System.String" />
<Parameter Name="pid" Type="System.Int32" />
<Parameter Name="uid" Type="System.Int32" />
</Parameters>
<Docs>
<param name="permission">The name of the permission being checked.</param>
<param name="pid">The process ID being checked against. Must be > 0.</param>
<param name="uid">The user ID being checked against. A uid of 0 is the root
user, which will pass every permission check.</param>
<summary>Determine whether the given permission is allowed for a particular
process and user ID running in the system.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkPermission(java.lang.String,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkPermission(java.lang.String, int, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckSelfPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckSelfPermission (string? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckSelfPermission(string permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckSelfPermission(System.String)" />
<MemberSignature Language="F#" Value="override this.CheckSelfPermission : string -> Android.Content.PM.Permission" Usage="contextWrapper.CheckSelfPermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkSelfPermission", "(Ljava/lang/String;)I", "GetCheckSelfPermission_Ljava_lang_String_Handler", ApiSince=23)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkSelfPermission", "(Ljava/lang/String;)I", "GetCheckSelfPermission_Ljava_lang_String_Handler", ApiSince=23)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android23.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android23.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="System.String" />
</Parameters>
<Docs>
<param name="permission">The name of the permission being checked. This value cannot be null .</param>
<summary>Determine whether you have been granted a particular permission.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkSelfPermission(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkSelfPermission(java.lang.String)</code>.</a>
</format>
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CheckUriPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckUriPermission (Android.Net.Uri? uri, int pid, int uid, Android.Content.ActivityFlags modeFlags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckUriPermission(class Android.Net.Uri uri, int32 pid, int32 uid, valuetype Android.Content.ActivityFlags modeFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckUriPermission(Android.Net.Uri,System.Int32,System.Int32,Android.Content.ActivityFlags)" />
<MemberSignature Language="F#" Value="override this.CheckUriPermission : Android.Net.Uri * int * int * Android.Content.ActivityFlags -> Android.Content.PM.Permission" Usage="contextWrapper.CheckUriPermission (uri, pid, uid, modeFlags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkUriPermission", "(Landroid/net/Uri;III)I", "GetCheckUriPermission_Landroid_net_Uri_IIIHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkUriPermission", "(Landroid/net/Uri;III)I", "GetCheckUriPermission_Landroid_net_Uri_IIIHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="pid" Type="System.Int32" />
<Parameter Name="uid" Type="System.Int32" />
<Parameter Name="modeFlags" Type="Android.Content.ActivityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="uri">The uri that is being checked.</param>
<param name="pid">The process ID being checked against. Must be > 0.</param>
<param name="uid">The user ID being checked against. A uid of 0 is the root
user, which will pass every permission check.</param>
<param name="modeFlags">The type of access to grant. May be one or both of
<see cref="F:Android.Content.ActivityFlags.GrantReadUriPermission" tool="ReplaceLinkValue" /> or
<see cref="F:Android.Content.ActivityFlags.GrantWriteUriPermission" tool="ReplaceLinkValue" />.</param>
<summary tool="true">Determine whether a particular process and user ID has been granted
permission to access a specific URI.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkUriPermission(android.net.Uri,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkUriPermission(android.net.Uri, int, int, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckUriPermission">
<MemberSignature Language="C#" Value="public override Android.Content.PM.Permission CheckUriPermission (Android.Net.Uri? uri, string? readPermission, string? writePermission, int pid, int uid, Android.Content.ActivityFlags modeFlags);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype Android.Content.PM.Permission CheckUriPermission(class Android.Net.Uri uri, string readPermission, string writePermission, int32 pid, int32 uid, valuetype Android.Content.ActivityFlags modeFlags) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CheckUriPermission(Android.Net.Uri,System.String,System.String,System.Int32,System.Int32,Android.Content.ActivityFlags)" />
<MemberSignature Language="F#" Value="override this.CheckUriPermission : Android.Net.Uri * string * string * int * int * Android.Content.ActivityFlags -> Android.Content.PM.Permission" Usage="contextWrapper.CheckUriPermission (uri, readPermission, writePermission, pid, uid, modeFlags)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkUriPermission", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I", "GetCheckUriPermission_Landroid_net_Uri_Ljava_lang_String_Ljava_lang_String_IIIHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkUriPermission", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I", "GetCheckUriPermission_Landroid_net_Uri_Ljava_lang_String_Ljava_lang_String_IIIHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.Permission</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="readPermission" Type="System.String" />
<Parameter Name="writePermission" Type="System.String" />
<Parameter Name="pid" Type="System.Int32" />
<Parameter Name="uid" Type="System.Int32" />
<Parameter Name="modeFlags" Type="Android.Content.ActivityFlags">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="uri">The Uri whose permission is to be checked, or null to not
do this check.</param>
<param name="readPermission">The permission that provides overall read access,
or null to not do this check.</param>
<param name="writePermission">The permission that provides overall write
access, or null to not do this check.</param>
<param name="pid">The process ID being checked against. Must be > 0.</param>
<param name="uid">The user ID being checked against. A uid of 0 is the root
user, which will pass every permission check.</param>
<param name="modeFlags">The type of access to grant. May be one or both of
<see cref="F:Android.Content.ActivityFlags.GrantReadUriPermission" tool="ReplaceLinkValue" /> or
<see cref="F:Android.Content.ActivityFlags.GrantWriteUriPermission" tool="ReplaceLinkValue" />.</param>
<summary>Check both a Uri and normal permission.</summary>
<returns>PackageManager.PERMISSION_GRANTED PackageManager.PERMISSION_DENIED</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#checkUriPermission(android.net.Uri,%20java.lang.String,%20java.lang.String,%20int,%20int,%20int)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.checkUriPermission(android.net.Uri, java.lang.String, java.lang.String, int, int, int)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ClassLoader">
<MemberSignature Language="C#" Value="public override Java.Lang.ClassLoader? ClassLoader { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Lang.ClassLoader ClassLoader" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.ClassLoader" />
<MemberSignature Language="F#" Value="member this.ClassLoader : Java.Lang.ClassLoader" Usage="Android.Content.ContextWrapper.ClassLoader" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getClassLoader", "()Ljava/lang/ClassLoader;", "GetGetClassLoaderHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getClassLoader", "()Ljava/lang/ClassLoader;", "GetGetClassLoaderHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.ClassLoader</ReturnType>
</ReturnValue>
<Docs>
<summary>Return a class loader you can use to retrieve classes in this package.</summary>
<value>Return a class loader you can use to retrieve classes in this package.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getClassLoader()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getClassLoader()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ClearWallpaper">
<MemberSignature Language="C#" Value="public override void ClearWallpaper ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void ClearWallpaper() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.ClearWallpaper" />
<MemberSignature Language="F#" Value="override this.ClearWallpaper : unit -> unit" Usage="contextWrapper.ClearWallpaper " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clearWallpaper", "()V", "GetClearWallpaperHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clearWallpaper", "()V", "GetClearWallpaperHandler")>]</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 />
<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" />
<exception cref="T:Java.IO.IOException" />
</Docs>
</Member>
<Member MemberName="CodeCacheDir">
<MemberSignature Language="C#" Value="public override Java.IO.File? CodeCacheDir { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.IO.File CodeCacheDir" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.CodeCacheDir" />
<MemberSignature Language="F#" Value="member this.CodeCacheDir : Java.IO.File" Usage="Android.Content.ContextWrapper.CodeCacheDir" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCodeCacheDir", "()Ljava/io/File;", "GetGetCodeCacheDirHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCodeCacheDir", "()Ljava/io/File;", "GetGetCodeCacheDirHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.IO.File</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the absolute path to the application specific cache directory on
the filesystem designed for storing cached code.</summary>
<value>Returns the absolute path to the application specific cache directory on the filesystem designed for storing cached code. The system will delete any files stored in this location both when your specific application is upgraded, and when the entire platform is upgraded. This location is optimal for storing compiled or optimized code generated by your application at runtime. The returned path may change over time if the calling app is moved to an adopted storage device, so only relative paths should be persisted. Apps require no extra permissions to read or write to the returned path, since this path lives in their private storage. Returns File The path of the directory holding application code cache files.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getCodeCacheDir()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getCodeCacheDir()</code>.</a>
</format>
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ContentResolver">
<MemberSignature Language="C#" Value="public override Android.Content.ContentResolver? ContentResolver { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.ContentResolver ContentResolver" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContextWrapper.ContentResolver" />
<MemberSignature Language="F#" Value="member this.ContentResolver : Android.Content.ContentResolver" Usage="Android.Content.ContextWrapper.ContentResolver" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getContentResolver", "()Landroid/content/ContentResolver;", "GetGetContentResolverHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getContentResolver", "()Landroid/content/ContentResolver;", "GetGetContentResolverHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentResolver</ReturnType>
</ReturnValue>
<Docs>
<summary>Return a ContentResolver instance for your application's package.</summary>
<value>Return a ContentResolver instance for your application's package.</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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#getContentResolver()" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.getContentResolver()</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CreateConfigurationContext">
<MemberSignature Language="C#" Value="public override Android.Content.Context? CreateConfigurationContext (Android.Content.Res.Configuration? overrideConfiguration);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Android.Content.Context CreateConfigurationContext(class Android.Content.Res.Configuration overrideConfiguration) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CreateConfigurationContext(Android.Content.Res.Configuration)" />
<MemberSignature Language="F#" Value="override this.CreateConfigurationContext : Android.Content.Res.Configuration -> Android.Content.Context" Usage="contextWrapper.CreateConfigurationContext overrideConfiguration" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createConfigurationContext", "(Landroid/content/res/Configuration;)Landroid/content/Context;", "GetCreateConfigurationContext_Landroid_content_res_Configuration_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createConfigurationContext", "(Landroid/content/res/Configuration;)Landroid/content/Context;", "GetCreateConfigurationContext_Landroid_content_res_Configuration_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Context</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="overrideConfiguration" Type="Android.Content.Res.Configuration" />
</Parameters>
<Docs>
<param name="overrideConfiguration">A <see cref="T:Android.Content.Res.Configuration" /> specifying what
values to modify in the base Configuration of the original Context's
resources. If the base configuration changes (such as due to an
orientation change), the resources of this context will also change except
for those that have been explicitly overridden with a value here.</param>
<summary>Return a new Context object for the current Context but whose resources
are adjusted to match the given Configuration.</summary>
<returns>A Context with the given configuration override.</returns>
<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>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#createConfigurationContext(android.content.res.Configuration)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.createConfigurationContext(android.content.res.Configuration)</code>.</a>
</format>
</para>
</remarks>
<since version="Added in API level 17" />
</Docs>
</Member>
<Member MemberName="CreateContextForSplit">
<MemberSignature Language="C#" Value="public override Android.Content.Context? CreateContextForSplit (string? splitName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Android.Content.Context CreateContextForSplit(string splitName) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CreateContextForSplit(System.String)" />
<MemberSignature Language="F#" Value="override this.CreateContextForSplit : string -> Android.Content.Context" Usage="contextWrapper.CreateContextForSplit splitName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createContextForSplit", "(Ljava/lang/String;)Landroid/content/Context;", "GetCreateContextForSplit_Ljava_lang_String_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createContextForSplit", "(Ljava/lang/String;)Landroid/content/Context;", "GetCreateContextForSplit_Ljava_lang_String_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>Android.Content.Context</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="splitName" Type="System.String" />
</Parameters>
<Docs>
<param name="splitName">The name of the split to include, as declared in the split's AndroidManifest.xml .</param>
<summary>Return a new Context object for the given split name. The new Context has a ClassLoader and Resources object that can access the split's and all of its dependencies' code/resources. Each call to this method returns a new instance of a Context object; Context objects are not shared, however common state (ClassLoader, other Resources for the same split) may be so the Context itself can be fairly lightweight.</summary>
<returns>A Context with the given split's code and/or resources loaded.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContextWrapper#createContextForSplit(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContextWrapper.createContextForSplit(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="CreateDeviceProtectedStorageContext">
<MemberSignature Language="C#" Value="public override Android.Content.Context? CreateDeviceProtectedStorageContext ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Android.Content.Context CreateDeviceProtectedStorageContext() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContextWrapper.CreateDeviceProtectedStorageContext" />
<MemberSignature Language="F#" Value="override this.CreateDeviceProtectedStorageContext : unit -> Android.Content.Context" Usage="contextWrapper.CreateDeviceProtectedStorageContext " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createDeviceProtectedStorageContext", "()Landroid/content/Context;", "GetCreateDeviceProtectedStorageContextHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createDeviceProtectedStorageContext", "()Landroid/content/Context;", "GetCreateDeviceProtectedStorageContextHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.Context</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Return a new Context object for the current Context but whose storage APIs are backed by device-protected storage. On devices with direct boot, data stored in this location is encrypted with a key tied to the physical device, and it can be accessed immediately after the device has booted successfully, both before and after the user has authenticated with their credentials (such as a lock pattern or PIN). Because device-protected data is available without user authentication, you should carefully limit the data you store using this Context. For example, storing sensitive authentication tokens or passwords in the device-protected area is strongly discouraged. If the underlying device does not have the ability to store device-protected and credential-protected data using different keys, then both storage areas will become available at the same time. They remain as two distinct storage locations on disk, and only the window of availability changes. Each call to this method returns a new instance of a Context object; Context objects are not shared, however common state (ClassLoader, other Resources for the same configuration) may be so the Context itself can be fairly lightweight. Returns Context</summary>
<returns>Return a new Context object for the current Context but whose storage APIs are backed by device-protected storage. On devices with direct boot, data stored in this location is encrypted with a key tied to the physical device, and it can be accessed immediately after the device has booted successfully, both before and after the user has authenticated with their credentials (such as a lock pattern or PIN). Because device-protected data is available without user authentication, you should carefully limit the data you store using this Context. For example, storing sensitive authentication tokens or passwords in the device-protected area is strongly discouraged. If the underlying device does not have the ability to store device-protected and credential-protected data using different keys, then both storage areas will become available at the same time. They remain as two distinct storage locations on disk, and only the window of availability changes. Each call to this method returns a new instance of a Context object; Context objects are not shared, however common state (ClassLoader, other Resources for the same configuration) may be so the Context itself can be fairly lightweight. Returns Context</returns>
<remarks>