-
Notifications
You must be signed in to change notification settings - Fork 0
/
ContentResolver.xml
5972 lines (5961 loc) · 409 KB
/
ContentResolver.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="ContentResolver" FullName="Android.Content.ContentResolver">
<TypeSignature Language="C#" Value="public abstract class ContentResolver : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ContentResolver extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Content.ContentResolver" />
<TypeSignature Language="F#" Value="type ContentResolver = 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/content/ContentResolver", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/content/ContentResolver", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>This class provides applications access to the content model.</summary>
<remarks>
<para>This class provides applications access to the content model.
<div class="special reference">
<h3>Developer Guides</h3></para>
<para>For more information about using a ContentResolver with content providers, read the
<see href="https://developer.android.com/guide/topics/providers/content-providers.html">Content Providers</see>
developer guide.</para>
<para></div></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver" title="Reference documentation">Java documentation for <code>android.content.ContentResolver</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 ContentResolver (Android.Content.Context? context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.Context context) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.#ctor(Android.Content.Context)" />
<MemberSignature Language="F#" Value="new Android.Content.ContentResolver : Android.Content.Context -> Android.Content.ContentResolver" Usage="new Android.Content.ContentResolver context" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
</Parameters>
<Docs>
<param name="context">To be added.</param>
<summary>Note: passing a <c>null</c> context here could lead to unexpected behavior in certain
ContentResolver APIs so it is highly recommended to pass a non-null context here.</summary>
<remarks>
<para>Note: passing a <c>null</c> context here could lead to unexpected behavior in certain
ContentResolver APIs so it is highly recommended to pass a non-null context here.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#ContentResolver(android.content.Context)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.ContentResolver(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=".ctor">
<MemberSignature Language="C#" Value="protected ContentResolver (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.ContentResolver.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Content.ContentResolver : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.ContentResolver" Usage="new Android.Content.ContentResolver (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="AcquireContentProviderClient">
<MemberSignature Language="C#" Value="public Android.Content.ContentProviderClient? AcquireContentProviderClient (Android.Net.Uri uri);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.ContentProviderClient AcquireContentProviderClient(class Android.Net.Uri uri) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AcquireContentProviderClient(Android.Net.Uri)" />
<MemberSignature Language="F#" Value="member this.AcquireContentProviderClient : Android.Net.Uri -> Android.Content.ContentProviderClient" Usage="contentResolver.AcquireContentProviderClient uri" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("acquireContentProviderClient", "(Landroid/net/Uri;)Landroid/content/ContentProviderClient;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("acquireContentProviderClient", "(Landroid/net/Uri;)Landroid/content/ContentProviderClient;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentProviderClient</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
</Parameters>
<Docs>
<param name="uri">specifies which provider should be acquired</param>
<summary>Returns a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
that services the content at uri, starting the provider if necessary.</summary>
<returns>a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
that services the content at uri or null if there isn't one.</returns>
<remarks>
<para>Returns a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
that services the content at uri, starting the provider if necessary. Returns
null if there is no provider associated wih the uri. The caller must indicate that they are
done with the provider by calling <c>ContentProviderClient#release</c> which will allow
the system to release the provider if it determines that there is no other reason for
keeping it active.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#acquireContentProviderClient(android.net.Uri)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.acquireContentProviderClient(android.net.Uri)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="AcquireContentProviderClient">
<MemberSignature Language="C#" Value="public Android.Content.ContentProviderClient? AcquireContentProviderClient (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.ContentProviderClient AcquireContentProviderClient(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AcquireContentProviderClient(System.String)" />
<MemberSignature Language="F#" Value="member this.AcquireContentProviderClient : string -> Android.Content.ContentProviderClient" Usage="contentResolver.AcquireContentProviderClient name" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("acquireContentProviderClient", "(Ljava/lang/String;)Landroid/content/ContentProviderClient;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("acquireContentProviderClient", "(Ljava/lang/String;)Landroid/content/ContentProviderClient;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentProviderClient</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">specifies which provider should be acquired</param>
<summary>Returns a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
with the authority of name, starting the provider if necessary.</summary>
<returns>a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
with the authority of name or null if there isn't one.</returns>
<remarks>
<para>Returns a <c>ContentProviderClient</c> that is associated with the <c>ContentProvider</c>
with the authority of name, starting the provider if necessary. Returns
null if there is no provider associated wih the uri. The caller must indicate that they are
done with the provider by calling <c>ContentProviderClient#release</c> which will allow
the system to release the provider if it determines that there is no other reason for
keeping it active.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#acquireContentProviderClient(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.acquireContentProviderClient(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 5" />
</Docs>
</Member>
<Member MemberName="AcquireUnstableContentProviderClient">
<MemberSignature Language="C#" Value="public Android.Content.ContentProviderClient? AcquireUnstableContentProviderClient (Android.Net.Uri uri);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.ContentProviderClient AcquireUnstableContentProviderClient(class Android.Net.Uri uri) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AcquireUnstableContentProviderClient(Android.Net.Uri)" />
<MemberSignature Language="F#" Value="member this.AcquireUnstableContentProviderClient : Android.Net.Uri -> Android.Content.ContentProviderClient" Usage="contentResolver.AcquireUnstableContentProviderClient uri" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("acquireUnstableContentProviderClient", "(Landroid/net/Uri;)Landroid/content/ContentProviderClient;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("acquireUnstableContentProviderClient", "(Landroid/net/Uri;)Landroid/content/ContentProviderClient;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentProviderClient</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
</Parameters>
<Docs>
<param name="uri">To be added.</param>
<summary>Like <c>#acquireContentProviderClient(Uri)</c>, but for use when you do
not trust the stability of the target content provider.</summary>
<returns>To be added.</returns>
<remarks>
<para>Like <c>#acquireContentProviderClient(Uri)</c>, but for use when you do
not trust the stability of the target content provider. This turns off
the mechanism in the platform clean up processes that are dependent on
a content provider if that content provider's process goes away. Normally
you can safely assume that once you have acquired a provider, you can freely
use it as needed and it won't disappear, even if your process is in the
background. If using this method, you need to take care to deal with any
failures when communicating with the provider, and be sure to close it
so that it can be re-opened later. In particular, catching a
<c>android.os.DeadObjectException</c> from the calls there will let you
know that the content provider has gone away; at that point the current
ContentProviderClient object is invalid, and you should release it. You
can acquire a new one if you would like to try to restart the provider
and perform new operations on it.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#acquireUnstableContentProviderClient(android.net.Uri)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.acquireUnstableContentProviderClient(android.net.Uri)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 16" />
</Docs>
</Member>
<Member MemberName="AcquireUnstableContentProviderClient">
<MemberSignature Language="C#" Value="public Android.Content.ContentProviderClient? AcquireUnstableContentProviderClient (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Content.ContentProviderClient AcquireUnstableContentProviderClient(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AcquireUnstableContentProviderClient(System.String)" />
<MemberSignature Language="F#" Value="member this.AcquireUnstableContentProviderClient : string -> Android.Content.ContentProviderClient" Usage="contentResolver.AcquireUnstableContentProviderClient name" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("acquireUnstableContentProviderClient", "(Ljava/lang/String;)Landroid/content/ContentProviderClient;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("acquireUnstableContentProviderClient", "(Ljava/lang/String;)Landroid/content/ContentProviderClient;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentProviderClient</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<summary>Like <c>#acquireContentProviderClient(String)</c>, but for use when you do
not trust the stability of the target content provider.</summary>
<returns>To be added.</returns>
<remarks>
<para>Like <c>#acquireContentProviderClient(String)</c>, but for use when you do
not trust the stability of the target content provider. This turns off
the mechanism in the platform clean up processes that are dependent on
a content provider if that content provider's process goes away. Normally
you can safely assume that once you have acquired a provider, you can freely
use it as needed and it won't disappear, even if your process is in the
background. If using this method, you need to take care to deal with any
failures when communicating with the provider, and be sure to close it
so that it can be re-opened later. In particular, catching a
<c>android.os.DeadObjectException</c> from the calls there will let you
know that the content provider has gone away; at that point the current
ContentProviderClient object is invalid, and you should release it. You
can acquire a new one if you would like to try to restart the provider
and perform new operations on it.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#acquireUnstableContentProviderClient(java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.acquireUnstableContentProviderClient(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 16" />
</Docs>
</Member>
<Member MemberName="AddPeriodicSync">
<MemberSignature Language="C#" Value="public static void AddPeriodicSync (Android.Accounts.Account? account, string? authority, Android.OS.Bundle? extras, long pollFrequency);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddPeriodicSync(class Android.Accounts.Account account, string authority, class Android.OS.Bundle extras, int64 pollFrequency) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AddPeriodicSync(Android.Accounts.Account,System.String,Android.OS.Bundle,System.Int64)" />
<MemberSignature Language="F#" Value="static member AddPeriodicSync : Android.Accounts.Account * string * Android.OS.Bundle * int64 -> unit" Usage="Android.Content.ContentResolver.AddPeriodicSync (account, authority, extras, pollFrequency)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addPeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addPeriodicSync", "(Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="account" Type="Android.Accounts.Account" />
<Parameter Name="authority" Type="System.String" />
<Parameter Name="extras" Type="Android.OS.Bundle" />
<Parameter Name="pollFrequency" Type="System.Int64" />
</Parameters>
<Docs>
<param name="account">the account to specify in the sync</param>
<param name="authority">the provider to specify in the sync request</param>
<param name="extras">extra parameters to go along with the sync request</param>
<param name="pollFrequency">how frequently the sync should be performed, in seconds.
On Android API level 24 and above, a minimum interval of 15 minutes is enforced.
On previous versions, the minimum interval is 1 hour.</param>
<summary>Specifies that a sync should be requested with the specified the account, authority,
and extras at the given frequency.</summary>
<remarks>
<para>Specifies that a sync should be requested with the specified the account, authority,
and extras at the given frequency. If there is already another periodic sync scheduled
with the account, authority and extras then a new periodic sync won't be added, instead
the frequency of the previous one will be updated.</para>
<para>These periodic syncs honor the "syncAutomatically" and "masterSyncAutomatically" settings.
Although these sync are scheduled at the specified frequency, it may take longer for it to
actually be started if other syncs are ahead of it in the sync operation queue. This means
that the actual start time may drift.</para>
<para>Periodic syncs are not allowed to have any of <c>#SYNC_EXTRAS_DO_NOT_RETRY</c>,
<c>#SYNC_EXTRAS_IGNORE_BACKOFF</c>, <c>#SYNC_EXTRAS_IGNORE_SETTINGS</c>,
<c>#SYNC_EXTRAS_INITIALIZE</c>, <c>#SYNC_EXTRAS_FORCE</c>,
<c>#SYNC_EXTRAS_EXPEDITED</c>, <c>#SYNC_EXTRAS_MANUAL</c>,
<c>#SYNC_EXTRAS_SCHEDULE_AS_EXPEDITED_JOB</c> set to true.
If any are supplied then an <c>IllegalArgumentException</c> will be thrown.</para>
<para>This method requires the caller to hold the permission
<c>android.Manifest.permission#WRITE_SYNC_SETTINGS</c>.</para>
<para>The bundle for a periodic sync can be queried by applications with the correct
permissions using
<c>ContentResolver#getPeriodicSyncs(Account account, String provider)</c>, so no
sensitive data should be transferred here.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#addPeriodicSync(android.accounts.Account,%20java.lang.String,%20android.os.Bundle,%20long)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.addPeriodicSync(android.accounts.Account, java.lang.String, android.os.Bundle, long)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
<exception cref="T:Java.Lang.IllegalArgumentException">if an illegal extra was set or if any of the parameters
are null.
</exception>
</Docs>
</Member>
<Member MemberName="AddStatusChangeListener">
<MemberSignature Language="C#" Value="public static Java.Lang.Object? AddStatusChangeListener (Android.Content.SyncObserverType mask, Android.Content.ISyncStatusObserver? callback);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Java.Lang.Object AddStatusChangeListener(valuetype Android.Content.SyncObserverType mask, class Android.Content.ISyncStatusObserver callback) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.AddStatusChangeListener(Android.Content.SyncObserverType,Android.Content.ISyncStatusObserver)" />
<MemberSignature Language="F#" Value="static member AddStatusChangeListener : Android.Content.SyncObserverType * Android.Content.ISyncStatusObserver -> Java.Lang.Object" Usage="Android.Content.ContentResolver.AddStatusChangeListener (mask, callback)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addStatusChangeListener", "(ILandroid/content/SyncStatusObserver;)Ljava/lang/Object;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addStatusChangeListener", "(ILandroid/content/SyncStatusObserver;)Ljava/lang/Object;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="mask" Type="Android.Content.SyncObserverType">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="callback" Type="Android.Content.ISyncStatusObserver" />
</Parameters>
<Docs>
<param name="mask">the status change types that will cause the callback to be invoked</param>
<param name="callback">observer to be invoked when the status changes</param>
<summary>Request notifications when the different aspects of the SyncManager change.</summary>
<returns>a handle that can be used to remove the listener at a later time</returns>
<remarks>
<para>Request notifications when the different aspects of the SyncManager change. The
different items that can be requested are:
<ul>
<li> <c>#SYNC_OBSERVER_TYPE_PENDING</c><li> <c>#SYNC_OBSERVER_TYPE_ACTIVE</c><li> <c>#SYNC_OBSERVER_TYPE_SETTINGS</c></ul>
The caller can set one or more of the status types in the mask for any
given listener registration.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#addStatusChangeListener(int,%20android.content.SyncStatusObserver)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.addStatusChangeListener(int, android.content.SyncStatusObserver)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 5" />
</Docs>
</Member>
<Member MemberName="AnyCursorItemType">
<MemberSignature Language="C#" Value="public const string AnyCursorItemType;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string AnyCursorItemType" />
<MemberSignature Language="DocId" Value="F:Android.Content.ContentResolver.AnyCursorItemType" />
<MemberSignature Language="F#" Value="val mutable AnyCursorItemType : string" Usage="Android.Content.ContentResolver.AnyCursorItemType" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ANY_CURSOR_ITEM_TYPE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ANY_CURSOR_ITEM_TYPE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>This is the Android platform's generic MIME type to match any MIME
type of the form "<c>#CURSOR_ITEM_BASE_TYPE</c>/<c>SUB_TYPE</c>".</summary>
<remarks>
<para>This is the Android platform's generic MIME type to match any MIME
type of the form "<c>#CURSOR_ITEM_BASE_TYPE</c>/<c>SUB_TYPE</c>".
<c>SUB_TYPE</c> is the sub-type of the application-dependent
content, e.g., "audio", "video", "playlist".</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#ANY_CURSOR_ITEM_TYPE" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.ANY_CURSOR_ITEM_TYPE</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="ApplyBatch">
<MemberSignature Language="C#" Value="public virtual Android.Content.ContentProviderResult[] ApplyBatch (string authority, System.Collections.Generic.IList<Android.Content.ContentProviderOperation> operations);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Content.ContentProviderResult[] ApplyBatch(string authority, class System.Collections.Generic.IList`1<class Android.Content.ContentProviderOperation> operations) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.ApplyBatch(System.String,System.Collections.Generic.IList{Android.Content.ContentProviderOperation})" />
<MemberSignature Language="F#" Value="abstract member ApplyBatch : string * System.Collections.Generic.IList<Android.Content.ContentProviderOperation> -> Android.Content.ContentProviderResult[]
override this.ApplyBatch : string * System.Collections.Generic.IList<Android.Content.ContentProviderOperation> -> Android.Content.ContentProviderResult[]" Usage="contentResolver.ApplyBatch (authority, operations)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyBatch", "(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult;", "GetApplyBatch_Ljava_lang_String_Ljava_util_ArrayList_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyBatch", "(Ljava/lang/String;Ljava/util/ArrayList;)[Landroid/content/ContentProviderResult;", "GetApplyBatch_Ljava_lang_String_Ljava_util_ArrayList_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.ContentProviderResult[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="authority" Type="System.String" />
<Parameter Name="operations" Type="System.Collections.Generic.IList<Android.Content.ContentProviderOperation>" />
</Parameters>
<Docs>
<param name="authority">the authority of the ContentProvider to which this batch should be applied</param>
<param name="operations">the operations to apply</param>
<summary>Applies each of the <c>ContentProviderOperation</c> objects and returns an array
of their results.</summary>
<returns>the results of the applications</returns>
<remarks>
<para>Applies each of the <c>ContentProviderOperation</c> objects and returns an array
of their results. Passes through OperationApplicationException, which may be thrown
by the call to <c>ContentProviderOperation#apply</c>.
If all the applications succeed then a <c>ContentProviderResult</c> array with the
same number of elements as the operations will be returned. It is implementation-specific
how many, if any, operations will have been successfully applied if a call to
apply results in a <c>OperationApplicationException</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#applyBatch(java.lang.String,%20java.util.ArrayList%3Candroid.content.ContentProviderOperation%3E)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.applyBatch(java.lang.String, java.util.ArrayList<android.content.ContentProviderOperation>)</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="BulkInsert">
<MemberSignature Language="C#" Value="public int BulkInsert (Android.Net.Uri url, Android.Content.ContentValues[] values);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 BulkInsert(class Android.Net.Uri url, class Android.Content.ContentValues[] values) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.BulkInsert(Android.Net.Uri,Android.Content.ContentValues[])" />
<MemberSignature Language="F#" Value="member this.BulkInsert : Android.Net.Uri * Android.Content.ContentValues[] -> int" Usage="contentResolver.BulkInsert (url, values)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("bulkInsert", "(Landroid/net/Uri;[Landroid/content/ContentValues;)I", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("bulkInsert", "(Landroid/net/Uri;[Landroid/content/ContentValues;)I", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Android.Net.Uri" />
<Parameter Name="values" Type="Android.Content.ContentValues[]" />
</Parameters>
<Docs>
<param name="url">The URL of the table to insert into.</param>
<param name="values">The initial values for the newly inserted rows. The key is the column name for
the field. Passing null will create an empty row.</param>
<summary>Inserts multiple rows into a table at the given URL.</summary>
<returns>the number of newly created rows.</returns>
<remarks>
<para>Inserts multiple rows into a table at the given URL.</para>
<para>This function make no guarantees about the atomicity of the insertions.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#bulkInsert(android.net.Uri,%20android.content.ContentValues[])" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.bulkInsert(android.net.Uri, android.content.ContentValues[])</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="Call">
<MemberSignature Language="C#" Value="public Android.OS.Bundle? Call (Android.Net.Uri uri, string method, string? arg, Android.OS.Bundle? extras);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.OS.Bundle Call(class Android.Net.Uri uri, string method, string arg, class Android.OS.Bundle extras) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.Call(Android.Net.Uri,System.String,System.String,Android.OS.Bundle)" />
<MemberSignature Language="F#" Value="member this.Call : Android.Net.Uri * string * string * Android.OS.Bundle -> Android.OS.Bundle" Usage="contentResolver.Call (uri, method, arg, extras)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("call", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("call", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.Bundle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="method" Type="System.String" />
<Parameter Name="arg" Type="System.String" />
<Parameter Name="extras" Type="Android.OS.Bundle" />
</Parameters>
<Docs>
<param name="uri">To be added.</param>
<param name="method">provider-defined method name to call. Opaque to
framework, but must be non-null.</param>
<param name="arg">provider-defined String argument. May be null.</param>
<param name="extras">provider-defined Bundle argument. May be null.</param>
<summary>Call a provider-defined method.</summary>
<returns>a result Bundle, possibly null. Will be null if the ContentProvider
does not implement call.</returns>
<remarks>
<para>Call a provider-defined method. This can be used to implement
read or write interfaces which are cheaper than using a Cursor and/or
do not fit into the traditional table model.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#call(android.net.Uri,%20java.lang.String,%20java.lang.String,%20android.os.Bundle)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.call(android.net.Uri, java.lang.String, java.lang.String, android.os.Bundle)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 11" />
<exception cref="T:Java.Lang.NullPointerException">if uri or method is null</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">if uri is not known
</exception>
</Docs>
</Member>
<Member MemberName="Call">
<MemberSignature Language="C#" Value="public Android.OS.Bundle? Call (string authority, string method, string? arg, Android.OS.Bundle? extras);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.OS.Bundle Call(string authority, string method, string arg, class Android.OS.Bundle extras) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.Call(System.String,System.String,System.String,Android.OS.Bundle)" />
<MemberSignature Language="F#" Value="member this.Call : string * string * string * Android.OS.Bundle -> Android.OS.Bundle" Usage="contentResolver.Call (authority, method, arg, extras)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("call", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("call", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.OS.Bundle</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="authority" Type="System.String" />
<Parameter Name="method" Type="System.String" />
<Parameter Name="arg" Type="System.String" />
<Parameter Name="extras" Type="Android.OS.Bundle" />
</Parameters>
<Docs>
<param name="authority">To be added.</param>
<param name="method">provider-defined method name to call. Opaque to
framework, but must be non-null.</param>
<param name="arg">provider-defined String argument. May be null.</param>
<param name="extras">provider-defined Bundle argument. May be null.</param>
<summary>Call a provider-defined method.</summary>
<returns>a result Bundle, possibly null. Will be null if the ContentProvider
does not implement call.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#call(android.net.Uri,%20java.lang.String,%20java.lang.String,%20android.os.Bundle)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.call(android.net.Uri, java.lang.String, java.lang.String, android.os.Bundle)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CancelSync">
<MemberSignature Language="C#" Value="public static void CancelSync (Android.Content.SyncRequest? request);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void CancelSync(class Android.Content.SyncRequest request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.CancelSync(Android.Content.SyncRequest)" />
<MemberSignature Language="F#" Value="static member CancelSync : Android.Content.SyncRequest -> unit" Usage="Android.Content.ContentResolver.CancelSync request" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancelSync", "(Landroid/content/SyncRequest;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancelSync", "(Landroid/content/SyncRequest;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="Android.Content.SyncRequest" />
</Parameters>
<Docs>
<param name="request">SyncRequest object containing information about sync to cancel.</param>
<summary>Remove the specified sync.</summary>
<remarks>
<para>Remove the specified sync. This will cancel any pending or active syncs. If the request is
for a periodic sync, this call will remove any future occurrences.</para>
<para>If a periodic sync is specified, the caller must hold the permission
<c>android.Manifest.permission#WRITE_SYNC_SETTINGS</c>.</para>
<para>It is possible to cancel a sync using a SyncRequest object that is not the same object
with which you requested the sync. Do so by building a SyncRequest with the same
adapter, frequency, <b>and</b> extras bundle.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#cancelSync(android.content.SyncRequest)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.cancelSync(android.content.SyncRequest)</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="CancelSync">
<MemberSignature Language="C#" Value="public virtual void CancelSync (Android.Net.Uri? uri);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CancelSync(class Android.Net.Uri uri) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.CancelSync(Android.Net.Uri)" />
<MemberSignature Language="F#" Value="abstract member CancelSync : Android.Net.Uri -> unit
override this.CancelSync : Android.Net.Uri -> unit" Usage="contentResolver.CancelSync uri" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancelSync", "(Landroid/net/Uri;)V", "GetCancelSync_Landroid_net_Uri_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancelSync", "(Landroid/net/Uri;)V", "GetCancelSync_Landroid_net_Uri_Handler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="Android.Net.Uri" />
</Parameters>
<Docs>
<param name="uri">the uri of the provider to sync or null to sync all providers.</param>
<summary>Cancel any active or pending syncs that match the Uri.</summary>
<remarks>
<para>Cancel any active or pending syncs that match the Uri. If the uri is null then
all syncs will be canceled.</para>
<para>This member is deprecated. instead use <c>#cancelSync(android.accounts.Account, String)</c></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#cancelSync(android.net.Uri)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.cancelSync(android.net.Uri)</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="CancelSync">
<MemberSignature Language="C#" Value="public static void CancelSync (Android.Accounts.Account? account, string? authority);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void CancelSync(class Android.Accounts.Account account, string authority) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.CancelSync(Android.Accounts.Account,System.String)" />
<MemberSignature Language="F#" Value="static member CancelSync : Android.Accounts.Account * string -> unit" Usage="Android.Content.ContentResolver.CancelSync (account, authority)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancelSync", "(Landroid/accounts/Account;Ljava/lang/String;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancelSync", "(Landroid/accounts/Account;Ljava/lang/String;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="account" Type="Android.Accounts.Account" />
<Parameter Name="authority" Type="System.String" />
</Parameters>
<Docs>
<param name="account">filters the syncs that match by this account</param>
<param name="authority">filters the syncs that match by this authority</param>
<summary>Cancel any active or pending syncs that match account and authority.</summary>
<remarks>
<para>Cancel any active or pending syncs that match account and authority. The account and
authority can each independently be set to null, which means that syncs with any account
or authority, respectively, will match.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#cancelSync(android.accounts.Account,%20java.lang.String)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.cancelSync(android.accounts.Account, 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 5" />
</Docs>
</Member>
<Member MemberName="Canonicalize">
<MemberSignature Language="C#" Value="public Android.Net.Uri? Canonicalize (Android.Net.Uri url);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Android.Net.Uri Canonicalize(class Android.Net.Uri url) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.ContentResolver.Canonicalize(Android.Net.Uri)" />
<MemberSignature Language="F#" Value="member this.Canonicalize : Android.Net.Uri -> Android.Net.Uri" Usage="contentResolver.Canonicalize url" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("canonicalize", "(Landroid/net/Uri;)Landroid/net/Uri;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("canonicalize", "(Landroid/net/Uri;)Landroid/net/Uri;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Net.Uri</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="url" Type="Android.Net.Uri" />
</Parameters>
<Docs>
<param name="url">The <c>Uri</c> that is to be transformed to a canonical
representation. Like all resolver calls, the input can be either
a non-canonical or canonical Uri.</param>
<summary>Transform the given <var>url</var> to a canonical representation of
its referenced resource, which can be used across devices, persisted,
backed up and restored, etc.</summary>
<returns>Returns the official canonical representation of <var>url</var>,
or null if the content provider does not support a canonical representation
of the given Uri. Many providers may not support canonicalization of some
or all of their Uris.</returns>
<remarks>
<para>Transform the given <var>url</var> to a canonical representation of
its referenced resource, which can be used across devices, persisted,
backed up and restored, etc. The returned Uri is still a fully capable
Uri for use with its content provider, allowing you to do all of the
same content provider operations as with the original Uri --
<c>#query</c>, <c>#openInputStream(android.net.Uri)</c>, etc. The
only difference in behavior between the original and new Uris is that
the content provider may need to do some additional work at each call
using it to resolve it to the correct resource, especially if the
canonical Uri has been moved to a different environment.</para>
<para>If you are moving a canonical Uri between environments, you should
perform another call to <c>#canonicalize</c> with that original Uri to
re-canonicalize it for the current environment. Alternatively, you may
want to use <c>#uncanonicalize</c> to transform it to a non-canonical
Uri that works only in the current environment but potentially more
efficiently than the canonical representation.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#canonicalize(android.net.Uri)" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.canonicalize(android.net.Uri)</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>
<altmember cref="M:Android.Content.ContentResolver.Uncanonicalize(Android.Net.Uri)" />
</Docs>
</Member>
<Member MemberName="CurrentSync">
<MemberSignature Language="C#" Value="public static Android.Content.SyncInfo? CurrentSync { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Android.Content.SyncInfo CurrentSync" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContentResolver.CurrentSync" />
<MemberSignature Language="F#" Value="static member CurrentSync : Android.Content.SyncInfo" Usage="Android.Content.ContentResolver.CurrentSync" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("deprecated")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("deprecated")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCurrentSync", "()Landroid/content/SyncInfo;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCurrentSync", "()Landroid/content/SyncInfo;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.SyncInfo</ReturnType>
</ReturnValue>
<Docs>
<summary>If a sync is active returns the information about it, otherwise returns null.</summary>
<value>the SyncInfo for the currently active sync or null if one is not active.</value>
<remarks>
<para>If a sync is active returns the information about it, otherwise returns null.</para>
<para>This method requires the caller to hold the permission
<c>android.Manifest.permission#READ_SYNC_STATS</c>.</para>
<para />
<para>This member is deprecated. Since multiple concurrent syncs are now supported you should use
<c>#getCurrentSyncs()</c> to get the accurate list of current syncs.
This method returns the first item from the list of current syncs
or null if there are none.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#getCurrentSync()" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.getCurrentSync()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
</Member>
<Member MemberName="CurrentSyncs">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IList<Android.Content.SyncInfo>? CurrentSyncs { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Collections.Generic.IList`1<class Android.Content.SyncInfo> CurrentSyncs" />
<MemberSignature Language="DocId" Value="P:Android.Content.ContentResolver.CurrentSyncs" />
<MemberSignature Language="F#" Value="static member CurrentSyncs : System.Collections.Generic.IList<Android.Content.SyncInfo>" Usage="Android.Content.ContentResolver.CurrentSyncs" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getCurrentSyncs", "()Ljava/util/List;", "")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getCurrentSyncs", "()Ljava/util/List;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<Android.Content.SyncInfo></ReturnType>
</ReturnValue>
<Docs>
<summary>Returns a list with information about all the active syncs.</summary>
<value>a List of SyncInfo objects for the currently active syncs.</value>
<remarks>
<para>Returns a list with information about all the active syncs. This list will be empty
if there are no active syncs.</para>
<para>This method requires the caller to hold the permission
<c>android.Manifest.permission#READ_SYNC_STATS</c>.</para>
<para />
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/ContentResolver#getCurrentSyncs()" title="Reference documentation">Java documentation for <code>android.content.ContentResolver.getCurrentSyncs()</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 11" />
</Docs>
</Member>
<Member MemberName="CursorDirBaseType">
<MemberSignature Language="C#" Value="public const string CursorDirBaseType;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string CursorDirBaseType" />
<MemberSignature Language="DocId" Value="F:Android.Content.ContentResolver.CursorDirBaseType" />
<MemberSignature Language="F#" Value="val mutable CursorDirBaseType : string" Usage="Android.Content.ContentResolver.CursorDirBaseType" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("CURSOR_DIR_BASE_TYPE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("CURSOR_DIR_BASE_TYPE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>