/
PreferenceManager.xml
1037 lines (1037 loc) · 72.7 KB
/
PreferenceManager.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="PreferenceManager" FullName="Android.Preferences.PreferenceManager">
<TypeSignature Language="C#" Value="public class PreferenceManager : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PreferenceManager extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Preferences.PreferenceManager" />
<TypeSignature Language="F#" Value="type PreferenceManager = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/preference/PreferenceManager", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/preference/PreferenceManager", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0", "This class is obsoleted in this android platform")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0", "This class is obsoleted in this android platform")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Used to help create <c>Preference</c> hierarchies
from activities or XML.</summary>
<remarks>
<para>Used to help create <c>Preference</c> hierarchies
from activities or XML.</para>
<para>In most cases, clients should use
<c>PreferenceActivity#addPreferencesFromIntent</c> or
<c>PreferenceActivity#addPreferencesFromResource(int)</c>.</para>
<para>This member is deprecated. Use the <see href="https://developer.android.com/jetpack/androidx.html">AndroidX</see><see href="https://developer.android.com/reference/androidx/preference/package-summary.html">
Preference Library</see> for consistent behavior across all devices. For more information on
using the AndroidX Preference Library see
<see href="https://developer.android.com/guide/topics/ui/settings.html">Settings</see>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager</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="protected PreferenceManager (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.Preferences.PreferenceManager.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Preferences.PreferenceManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.Preferences.PreferenceManager" Usage="new Android.Preferences.PreferenceManager (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="CreatePreferenceScreen">
<MemberSignature Language="C#" Value="public virtual Android.Preferences.PreferenceScreen? CreatePreferenceScreen (Android.Content.Context? context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Preferences.PreferenceScreen CreatePreferenceScreen(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.CreatePreferenceScreen(Android.Content.Context)" />
<MemberSignature Language="F#" Value="abstract member CreatePreferenceScreen : Android.Content.Context -> Android.Preferences.PreferenceScreen
override this.CreatePreferenceScreen : Android.Content.Context -> Android.Preferences.PreferenceScreen" Usage="preferenceManager.CreatePreferenceScreen context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createPreferenceScreen", "(Landroid/content/Context;)Landroid/preference/PreferenceScreen;", "GetCreatePreferenceScreen_Landroid_content_Context_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createPreferenceScreen", "(Landroid/content/Context;)Landroid/preference/PreferenceScreen;", "GetCreatePreferenceScreen_Landroid_content_Context_Handler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Preferences.PreferenceScreen</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary></summary>
<returns>To be added.</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>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="FindPreference">
<MemberSignature Language="C#" Value="public virtual Android.Preferences.Preference? FindPreference (Java.Lang.ICharSequence? key);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Preferences.Preference FindPreference(class Java.Lang.ICharSequence key) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.FindPreference(Java.Lang.ICharSequence)" />
<MemberSignature Language="F#" Value="abstract member FindPreference : Java.Lang.ICharSequence -> Android.Preferences.Preference
override this.FindPreference : Java.Lang.ICharSequence -> Android.Preferences.Preference" Usage="preferenceManager.FindPreference key" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", "GetFindPreference_Ljava_lang_CharSequence_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("findPreference", "(Ljava/lang/CharSequence;)Landroid/preference/Preference;", "GetFindPreference_Ljava_lang_CharSequence_Handler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Preferences.Preference</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="Java.Lang.ICharSequence" />
</Parameters>
<Docs>
<param name="key">the key of the preference to retrieve</param>
<summary>Finds a <c>Preference</c> based on its key.</summary>
<returns>the <c>Preference</c> with the key, or <c>null</c></returns>
<remarks>
<para>Finds a <c>Preference</c> based on its key.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#findPreference(java.lang.CharSequence)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.findPreference(java.lang.CharSequence)</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" />
<altmember cref="M:Android.Preferences.PreferenceGroup.FindPreference(Java.Lang.ICharSequence)" />
</Docs>
</Member>
<Member MemberName="FindPreference">
<MemberSignature Language="C#" Value="public Android.Preferences.Preference? FindPreference (string? key);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Preferences.Preference FindPreference(string key) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.FindPreference(System.String)" />
<MemberSignature Language="F#" Value="member this.FindPreference : string -> Android.Preferences.Preference" Usage="preferenceManager.FindPreference key" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Preferences.Preference</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="key" Type="System.String" />
</Parameters>
<Docs>
<param name="key">the key of the preference to retrieve</param>
<summary>Finds a <c>Preference</c> based on its key.</summary>
<returns>the <c>Preference</c> with the key, or <c>null</c></returns>
<remarks>
<para>Finds a <c>Preference</c> based on its key.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#findPreference(java.lang.CharSequence)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.findPreference(java.lang.CharSequence)</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="GetDefaultSharedPreferences">
<MemberSignature Language="C#" Value="public static Android.Content.ISharedPreferences? GetDefaultSharedPreferences (Android.Content.Context? context);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Android.Content.ISharedPreferences GetDefaultSharedPreferences(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.GetDefaultSharedPreferences(Android.Content.Context)" />
<MemberSignature Language="F#" Value="static member GetDefaultSharedPreferences : Android.Content.Context -> Android.Content.ISharedPreferences" Usage="Android.Preferences.PreferenceManager.GetDefaultSharedPreferences context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getDefaultSharedPreferences", "(Landroid/content/Context;)Landroid/content/SharedPreferences;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getDefaultSharedPreferences", "(Landroid/content/Context;)Landroid/content/SharedPreferences;", "")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ISharedPreferences</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">The context of the preferences whose values are wanted.</param>
<summary>Gets a <c>SharedPreferences</c> instance that points to the default file that is used by
the preference framework in the given context.</summary>
<returns>A <c>SharedPreferences</c> instance that can be used to retrieve and listen
to values of the preferences.</returns>
<remarks>
<para>Gets a <c>SharedPreferences</c> instance that points to the default file that is used by
the preference framework in the given context.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getDefaultSharedPreferences(android.content.Context)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getDefaultSharedPreferences(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="GetDefaultSharedPreferencesName">
<MemberSignature Language="C#" Value="public static string? GetDefaultSharedPreferencesName (Android.Content.Context? context);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string GetDefaultSharedPreferencesName(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.GetDefaultSharedPreferencesName(Android.Content.Context)" />
<MemberSignature Language="F#" Value="static member GetDefaultSharedPreferencesName : Android.Content.Context -> string" Usage="Android.Preferences.PreferenceManager.GetDefaultSharedPreferencesName context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getDefaultSharedPreferencesName", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getDefaultSharedPreferencesName", "(Landroid/content/Context;)Ljava/lang/String;", "", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</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>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary>Returns the name used for storing default shared preferences.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns the name used for storing default shared preferences.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getDefaultSharedPreferencesName(android.content.Context)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getDefaultSharedPreferencesName(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>
</Docs>
</Member>
<Member MemberName="IsStorageDefault">
<MemberSignature Language="C#" Value="public virtual bool IsStorageDefault { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsStorageDefault" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.IsStorageDefault" />
<MemberSignature Language="F#" Value="member this.IsStorageDefault : bool" Usage="Android.Preferences.PreferenceManager.IsStorageDefault" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isStorageDefault", "()Z", "GetIsStorageDefaultHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isStorageDefault", "()Z", "GetIsStorageDefaultHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if the storage location used internally by this class is the
default provided by the hosting <c>Context</c>.</summary>
<value>To be added.</value>
<remarks>
<para>Indicates if the storage location used internally by this class is the
default provided by the hosting <c>Context</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#isStorageDefault()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.isStorageDefault()</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="IsStorageDeviceProtected">
<MemberSignature Language="C#" Value="public virtual bool IsStorageDeviceProtected { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsStorageDeviceProtected" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.IsStorageDeviceProtected" />
<MemberSignature Language="F#" Value="member this.IsStorageDeviceProtected : bool" Usage="Android.Preferences.PreferenceManager.IsStorageDeviceProtected" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isStorageDeviceProtected", "()Z", "GetIsStorageDeviceProtectedHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isStorageDeviceProtected", "()Z", "GetIsStorageDeviceProtectedHandler", ApiSince=24)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicates if the storage location used internally by this class is backed
by device-protected storage.</summary>
<value>To be added.</value>
<remarks>
<para>Indicates if the storage location used internally by this class is backed
by device-protected storage.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#isStorageDeviceProtected()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.isStorageDeviceProtected()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Preferences.PreferenceManager.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="KeyHasSetDefaultValues">
<MemberSignature Language="C#" Value="public const string KeyHasSetDefaultValues;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string KeyHasSetDefaultValues" />
<MemberSignature Language="DocId" Value="F:Android.Preferences.PreferenceManager.KeyHasSetDefaultValues" />
<MemberSignature Language="F#" Value="val mutable KeyHasSetDefaultValues : string" Usage="Android.Preferences.PreferenceManager.KeyHasSetDefaultValues" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("KEY_HAS_SET_DEFAULT_VALUES")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("KEY_HAS_SET_DEFAULT_VALUES")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary></summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="MetadataKeyPreferences">
<MemberSignature Language="C#" Value="public const string MetadataKeyPreferences;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string MetadataKeyPreferences" />
<MemberSignature Language="DocId" Value="F:Android.Preferences.PreferenceManager.MetadataKeyPreferences" />
<MemberSignature Language="F#" Value="val mutable MetadataKeyPreferences : string" Usage="Android.Preferences.PreferenceManager.MetadataKeyPreferences" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("METADATA_KEY_PREFERENCES")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("METADATA_KEY_PREFERENCES")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The Activity meta-data key for its XML preference hierarchy.</summary>
<remarks>
<para>The Activity meta-data key for its XML preference hierarchy.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#METADATA_KEY_PREFERENCES" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.METADATA_KEY_PREFERENCES</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="PreferenceDataStore">
<MemberSignature Language="C#" Value="public virtual Android.Preferences.IPreferenceDataStore? PreferenceDataStore { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Preferences.IPreferenceDataStore PreferenceDataStore" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.PreferenceDataStore" />
<MemberSignature Language="F#" Value="member this.PreferenceDataStore : Android.Preferences.IPreferenceDataStore with get, set" Usage="Android.Preferences.PreferenceManager.PreferenceDataStore" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getPreferenceDataStore", "()Landroid/preference/PreferenceDataStore;", "GetGetPreferenceDataStoreHandler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getPreferenceDataStore", "()Landroid/preference/PreferenceDataStore;", "GetGetPreferenceDataStoreHandler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setPreferenceDataStore", "(Landroid/preference/PreferenceDataStore;)V", "GetSetPreferenceDataStore_Landroid_preference_PreferenceDataStore_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setPreferenceDataStore", "(Landroid/preference/PreferenceDataStore;)V", "GetSetPreferenceDataStore_Landroid_preference_PreferenceDataStore_Handler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Preferences.IPreferenceDataStore</ReturnType>
</ReturnValue>
<Docs>
<param name="dataStore">The <c>PreferenceDataStore</c> to be used by this manager.</param>
<summary>Returns the <c>PreferenceDataStore</c> associated with this manager or <c>null</c> if
the default <c>android.content.SharedPreferences</c> are used instead. -or- Sets a <c>PreferenceDataStore</c> to be used by all Preferences associated with this manager
that don't have a custom <c>PreferenceDataStore</c> assigned via
<c>Preference#setPreferenceDataStore(PreferenceDataStore)</c>.</summary>
<value>The <c>PreferenceDataStore</c> associated with this manager or <c>null</c> if none.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the <c>PreferenceDataStore</c> associated with this manager or <c>null</c> if
the default <c>android.content.SharedPreferences</c> are used instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getPreferenceDataStore()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getPreferenceDataStore()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets a <c>PreferenceDataStore</c> to be used by all Preferences associated with this manager
that don't have a custom <c>PreferenceDataStore</c> assigned via
<c>Preference#setPreferenceDataStore(PreferenceDataStore)</c>. Also if the data store is
set, the child preferences won't use <c>android.content.SharedPreferences</c> as long as
they are assigned to this manager.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setPreferenceDataStore(android.preference.PreferenceDataStore)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setPreferenceDataStore(android.preference.PreferenceDataStore)</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="SetDefaultValues">
<MemberSignature Language="C#" Value="public static void SetDefaultValues (Android.Content.Context? context, int resId, bool readAgain);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetDefaultValues(class Android.Content.Context context, int32 resId, bool readAgain) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.SetDefaultValues(Android.Content.Context,System.Int32,System.Boolean)" />
<MemberSignature Language="F#" Value="static member SetDefaultValues : Android.Content.Context * int * bool -> unit" Usage="Android.Preferences.PreferenceManager.SetDefaultValues (context, resId, readAgain)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setDefaultValues", "(Landroid/content/Context;IZ)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setDefaultValues", "(Landroid/content/Context;IZ)V", "")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
<Parameter Name="resId" Type="System.Int32" />
<Parameter Name="readAgain" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="context">The context of the shared preferences.</param>
<param name="resId">The resource ID of the preference XML file.</param>
<param name="readAgain">Whether to re-read the default values.
If false, this method sets the default values only if this
method has never been called in the past (or if the
<c>#KEY_HAS_SET_DEFAULT_VALUES</c> in the default value shared
preferences file is false). To attempt to set the default values again
bypassing this check, set <c>readAgain</c> to true.
<p class="note">
Note: this will NOT reset preferences back to their default
values. For that functionality, use
<c>PreferenceManager#getDefaultSharedPreferences(Context)</c>
and clear it followed by a call to this method with this
parameter set to true.</param>
<summary>Sets the default values from an XML preference file by reading the values defined
by each <c>Preference</c> item's <c>android:defaultValue</c> attribute.</summary>
<remarks>
<para>Sets the default values from an XML preference file by reading the values defined
by each <c>Preference</c> item's <c>android:defaultValue</c> attribute. This should
be called by the application's main activity.</para>
<para />
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setDefaultValues(android.content.Context,%20int,%20boolean)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setDefaultValues(android.content.Context, int, 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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetDefaultValues">
<MemberSignature Language="C#" Value="public static void SetDefaultValues (Android.Content.Context? context, string? sharedPreferencesName, Android.Content.FileCreationMode sharedPreferencesMode, int resId, bool readAgain);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetDefaultValues(class Android.Content.Context context, string sharedPreferencesName, valuetype Android.Content.FileCreationMode sharedPreferencesMode, int32 resId, bool readAgain) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.SetDefaultValues(Android.Content.Context,System.String,Android.Content.FileCreationMode,System.Int32,System.Boolean)" />
<MemberSignature Language="F#" Value="static member SetDefaultValues : Android.Content.Context * string * Android.Content.FileCreationMode * int * bool -> unit" Usage="Android.Preferences.PreferenceManager.SetDefaultValues (context, sharedPreferencesName, sharedPreferencesMode, resId, readAgain)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setDefaultValues", "(Landroid/content/Context;Ljava/lang/String;IIZ)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setDefaultValues", "(Landroid/content/Context;Ljava/lang/String;IIZ)V", "")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
<Parameter Name="sharedPreferencesName" Type="System.String" />
<Parameter Name="sharedPreferencesMode" Type="Android.Content.FileCreationMode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="resId" Type="System.Int32" />
<Parameter Name="readAgain" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="context">The context of the shared preferences.</param>
<param name="sharedPreferencesName">A custom name for the shared preferences file.</param>
<param name="sharedPreferencesMode">The file creation mode for the shared preferences file, such
as <c>android.content.Context#MODE_PRIVATE</c> or <c>android.content.Context#MODE_PRIVATE</c></param>
<param name="resId">The resource ID of the preference XML file.</param>
<param name="readAgain">Whether to re-read the default values.
If false, this method will set the default values only if this
method has never been called in the past (or if the
<c>#KEY_HAS_SET_DEFAULT_VALUES</c> in the default value shared
preferences file is false). To attempt to set the default values again
bypassing this check, set <c>readAgain</c> to true.
<p class="note">
Note: this will NOT reset preferences back to their default
values. For that functionality, use
<c>PreferenceManager#getDefaultSharedPreferences(Context)</c>
and clear it followed by a call to this method with this
parameter set to true.</param>
<summary>Similar to <c>#setDefaultValues(Context, int, boolean)</c> but allows
the client to provide the filename and mode of the shared preferences
file.</summary>
<remarks>
<para>Similar to <c>#setDefaultValues(Context, int, boolean)</c> but allows
the client to provide the filename and mode of the shared preferences
file.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setDefaultValues(android.content.Context,%20java.lang.String,%20int,%20int,%20boolean)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setDefaultValues(android.content.Context, java.lang.String, int, int, 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>
<since version="Added in API level 1" />
<altmember cref="M:Android.Preferences.PreferenceManager.SetDefaultValues(Android.Content.Context, System.Int32, System.Int32)" />
<altmember cref="P:Android.Preferences.PreferenceManager.SharedPreferencesName" />
<altmember cref="P:Android.Preferences.PreferenceManager.SharedPreferencesMode" />
</Docs>
</Member>
<Member MemberName="SetStorageDefault">
<MemberSignature Language="C#" Value="public virtual void SetStorageDefault ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetStorageDefault() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.SetStorageDefault" />
<MemberSignature Language="F#" Value="abstract member SetStorageDefault : unit -> unit
override this.SetStorageDefault : unit -> unit" Usage="preferenceManager.SetStorageDefault " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setStorageDefault", "()V", "GetSetStorageDefaultHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setStorageDefault", "()V", "GetSetStorageDefaultHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</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>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets the storage location used internally by this class to be the default
provided by the hosting <c>Context</c>.</summary>
<remarks>
<para>Sets the storage location used internally by this class to be the default
provided by the hosting <c>Context</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setStorageDefault()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setStorageDefault()</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="SetStorageDeviceProtected">
<MemberSignature Language="C#" Value="public virtual void SetStorageDeviceProtected ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetStorageDeviceProtected() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Preferences.PreferenceManager.SetStorageDeviceProtected" />
<MemberSignature Language="F#" Value="abstract member SetStorageDeviceProtected : unit -> unit
override this.SetStorageDeviceProtected : unit -> unit" Usage="preferenceManager.SetStorageDeviceProtected " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setStorageDeviceProtected", "()V", "GetSetStorageDeviceProtectedHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setStorageDeviceProtected", "()V", "GetSetStorageDeviceProtectedHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</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>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Explicitly set the storage location used internally by this class to be
device-protected storage.</summary>
<remarks>
<para>Explicitly set the storage location used internally by this class to be
device-protected storage.</para>
<para>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
<em>before and after</em> the user has authenticated with their
credentials (such as a lock pattern or PIN).</para>
<para>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.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setStorageDeviceProtected()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setStorageDeviceProtected()</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="SharedPreferences">
<MemberSignature Language="C#" Value="public virtual Android.Content.ISharedPreferences? SharedPreferences { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.ISharedPreferences SharedPreferences" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.SharedPreferences" />
<MemberSignature Language="F#" Value="member this.SharedPreferences : Android.Content.ISharedPreferences" Usage="Android.Preferences.PreferenceManager.SharedPreferences" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSharedPreferences", "()Landroid/content/SharedPreferences;", "GetGetSharedPreferencesHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSharedPreferences", "()Landroid/content/SharedPreferences;", "GetGetSharedPreferencesHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ISharedPreferences</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <c>SharedPreferences</c> instance that preferences managed by this will use.</summary>
<value>a <c>SharedPreferences</c> instance pointing to the file that contains the values of
preferences that are managed by this PreferenceManager. If a
<c>PreferenceDataStore</c> has been set, this method returns <c>null</c>.</value>
<remarks>
<para>Gets a <c>SharedPreferences</c> instance that preferences managed by this will use.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getSharedPreferences()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getSharedPreferences()</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="SharedPreferencesMode">
<MemberSignature Language="C#" Value="public virtual Android.Content.FileCreationMode SharedPreferencesMode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Android.Content.FileCreationMode SharedPreferencesMode" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.SharedPreferencesMode" />
<MemberSignature Language="F#" Value="member this.SharedPreferencesMode : Android.Content.FileCreationMode with get, set" Usage="Android.Preferences.PreferenceManager.SharedPreferencesMode" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSharedPreferencesMode", "()I", "GetGetSharedPreferencesModeHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSharedPreferencesMode", "()I", "GetGetSharedPreferencesModeHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setSharedPreferencesMode", "(I)V", "GetSetSharedPreferencesMode_IHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setSharedPreferencesMode", "(I)V", "GetSetSharedPreferencesMode_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.FileCreationMode</ReturnType>
</ReturnValue>
<Docs>
<param name="sharedPreferencesMode">The mode of the SharedPreferences file.</param>
<summary>Returns the current mode of the SharedPreferences file that preferences managed by
this will use. -or- Sets the mode of the SharedPreferences file that preferences managed by this
will use.</summary>
<value>The mode that can be passed to <c>Context#getSharedPreferences(String, int)</c>.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the current mode of the SharedPreferences file that preferences managed by
this will use.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getSharedPreferencesMode()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getSharedPreferencesMode()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the mode of the SharedPreferences file that preferences managed by this
will use.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setSharedPreferencesMode(int)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setSharedPreferencesMode(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 1" />
<altmember cref="M:Android.Content.Context.GetSharedPreferences(System.String, Android.Content.FileCreationMode)" />
</Docs>
</Member>
<Member MemberName="SharedPreferencesName">
<MemberSignature Language="C#" Value="public virtual string? SharedPreferencesName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SharedPreferencesName" />
<MemberSignature Language="DocId" Value="P:Android.Preferences.PreferenceManager.SharedPreferencesName" />
<MemberSignature Language="F#" Value="member this.SharedPreferencesName : string with get, set" Usage="Android.Preferences.PreferenceManager.SharedPreferencesName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getSharedPreferencesName", "()Ljava/lang/String;", "GetGetSharedPreferencesNameHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getSharedPreferencesName", "()Ljava/lang/String;", "GetGetSharedPreferencesNameHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setSharedPreferencesName", "(Ljava/lang/String;)V", "GetSetSharedPreferencesName_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setSharedPreferencesName", "(Ljava/lang/String;)V", "GetSetSharedPreferencesName_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<param name="sharedPreferencesName">The name of the SharedPreferences file.</param>
<summary>Returns the current name of the SharedPreferences file that preferences managed by
this will use. -or- Sets the name of the SharedPreferences file that preferences managed by this
will use.</summary>
<value>The name that can be passed to <c>Context#getSharedPreferences(String, int)</c>.</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns the current name of the SharedPreferences file that preferences managed by
this will use.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#getSharedPreferencesName()" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.getSharedPreferencesName()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the name of the SharedPreferences file that preferences managed by this
will use.</para>
<para>If custom <c>PreferenceDataStore</c> is set, this won't override its usage.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/preference/PreferenceManager#setSharedPreferencesName(java.lang.String)" title="Reference documentation">Java documentation for <code>android.preference.PreferenceManager.setSharedPreferencesName(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<altmember cref="M:Android.Content.Context.GetSharedPreferences(System.String, Android.Content.FileCreationMode)" />
</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.Preferences.PreferenceManager.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Preferences.PreferenceManager.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>