-
Notifications
You must be signed in to change notification settings - Fork 0
/
DownloadManager.xml
2238 lines (2235 loc) · 148 KB
/
DownloadManager.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="DownloadManager" FullName="Android.App.DownloadManager">
<TypeSignature Language="C#" Value="public class DownloadManager : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DownloadManager extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.App.DownloadManager" />
<TypeSignature Language="F#" Value="type DownloadManager = 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/app/DownloadManager", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/app/DownloadManager", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="9">
<summary>The download manager is a system service that handles long-running HTTP downloads.</summary>
<remarks>
<para>The download manager is a system service that handles long-running HTTP downloads. Clients may
request that a URI be downloaded to a particular destination file. The download manager will
conduct the download in the background, taking care of HTTP interactions and retrying downloads
after failures or across connectivity changes and system reboots.</para>
<para>Apps that request downloads through this API should register a broadcast receiver for
<c>#ACTION_NOTIFICATION_CLICKED</c> to appropriately handle when the user clicks on a running
download in a notification or from the downloads UI.</para>
<para>Note that the application must have the <c>android.Manifest.permission#INTERNET</c>
permission to use this class.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager" title="Reference documentation">Java documentation for <code>android.app.DownloadManager</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 9" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DownloadManager (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.App.DownloadManager.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.App.DownloadManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.DownloadManager" Usage="new Android.App.DownloadManager (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="ActionDownloadComplete">
<MemberSignature Language="C#" Value="public const string ActionDownloadComplete;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionDownloadComplete" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ActionDownloadComplete" />
<MemberSignature Language="F#" Value="val mutable ActionDownloadComplete : string" Usage="Android.App.DownloadManager.ActionDownloadComplete" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_DOWNLOAD_COMPLETE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_DOWNLOAD_COMPLETE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Broadcast intent action sent by the download manager when a download completes.</summary>
<remarks>
<para>Broadcast intent action sent by the download manager when a download completes.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#ACTION_DOWNLOAD_COMPLETE" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.ACTION_DOWNLOAD_COMPLETE</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 9" />
</Docs>
</Member>
<Member MemberName="ActionNotificationClicked">
<MemberSignature Language="C#" Value="public const string ActionNotificationClicked;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionNotificationClicked" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ActionNotificationClicked" />
<MemberSignature Language="F#" Value="val mutable ActionNotificationClicked : string" Usage="Android.App.DownloadManager.ActionNotificationClicked" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_NOTIFICATION_CLICKED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_NOTIFICATION_CLICKED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Broadcast intent action sent by the download manager when the user clicks on a running
download, either from a system notification or from the downloads UI.</summary>
<remarks>
<para>Broadcast intent action sent by the download manager when the user clicks on a running
download, either from a system notification or from the downloads UI.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#ACTION_NOTIFICATION_CLICKED" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.ACTION_NOTIFICATION_CLICKED</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 9" />
</Docs>
</Member>
<Member MemberName="ActionViewDownloads">
<MemberSignature Language="C#" Value="public const string ActionViewDownloads;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionViewDownloads" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ActionViewDownloads" />
<MemberSignature Language="F#" Value="val mutable ActionViewDownloads : string" Usage="Android.App.DownloadManager.ActionViewDownloads" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_VIEW_DOWNLOADS")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_VIEW_DOWNLOADS")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Intent action to launch an activity to display all downloads.</summary>
<remarks>
<para>Intent action to launch an activity to display all downloads.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#ACTION_VIEW_DOWNLOADS" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.ACTION_VIEW_DOWNLOADS</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 9" />
</Docs>
</Member>
<Member MemberName="AddCompletedDownload">
<MemberSignature Language="C#" Value="public virtual long AddCompletedDownload (string? title, string? description, bool isMediaScannerScannable, string? mimeType, string? path, long length, bool showNotification);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 AddCompletedDownload(string title, string description, bool isMediaScannerScannable, string mimeType, string path, int64 length, bool showNotification) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.DownloadManager.AddCompletedDownload(System.String,System.String,System.Boolean,System.String,System.String,System.Int64,System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member AddCompletedDownload : string * string * bool * string * string * int64 * bool -> int64
override this.AddCompletedDownload : string * string * bool * string * string * int64 * bool -> int64" Usage="downloadManager.AddCompletedDownload (title, description, isMediaScannerScannable, mimeType, path, length, showNotification)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addCompletedDownload", "(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;JZ)J", "GetAddCompletedDownload_Ljava_lang_String_Ljava_lang_String_ZLjava_lang_String_Ljava_lang_String_JZHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addCompletedDownload", "(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;JZ)J", "GetAddCompletedDownload_Ljava_lang_String_Ljava_lang_String_ZLjava_lang_String_Ljava_lang_String_JZHandler")>]</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.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="description" Type="System.String" />
<Parameter Name="isMediaScannerScannable" Type="System.Boolean" />
<Parameter Name="mimeType" Type="System.String" />
<Parameter Name="path" Type="System.String" />
<Parameter Name="length" Type="System.Int64" />
<Parameter Name="showNotification" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="title">the title that would appear for this file in Downloads App.</param>
<param name="description">the description that would appear for this file in Downloads App.</param>
<param name="isMediaScannerScannable">true if the file is to be scanned by MediaScanner. Files
scanned by MediaScanner appear in the applications used to view media (for example,
Gallery app).</param>
<param name="mimeType">mimetype of the file.</param>
<param name="path">absolute pathname to the file. The file should be world-readable, so that it can
be managed by the Downloads App and any other app that is used to read it (for example,
Gallery app to display the file, if the file contents represent a video/image).</param>
<param name="length">length of the downloaded file</param>
<param name="showNotification">true if a notification is to be sent, false otherwise</param>
<summary>Adds a file to the downloads database system, so it could appear in Downloads App
(and thus become eligible for management by the Downloads App).</summary>
<returns>an ID for the download entry added to the downloads app, unique across the system
This ID is used to make future calls related to this download.</returns>
<remarks>
<para>Adds a file to the downloads database system, so it could appear in Downloads App
(and thus become eligible for management by the Downloads App).</para>
<para>It is helpful to make the file scannable by MediaScanner by setting the param
isMediaScannerScannable to true. It makes the file visible in media managing
applications such as Gallery App, which could be a useful purpose of using this API.</para>
<para>For applications targeting <c>android.os.Build.VERSION_CODES#Q</c> or above,
<c>path</c> must be within directories owned by the application
{e.g. <c>Context#getExternalFilesDir(String)</c>} or if the application is running under
the legacy storage model (see
<c>android.R.styleable#AndroidManifestApplication_requestLegacyExternalStorage
android:requestLegacyExternalStorage</c>), <c>path</c> can also be within the top-level
Downloads directory (as returned by
<c>Environment#getExternalStoragePublicDirectory(String)</c> with
<c>Environment#DIRECTORY_DOWNLOADS</c>).</para>
<para>This member is deprecated. Apps should instead contribute files to
<c>android.provider.MediaStore.Downloads</c> collection to make them available to user
as part of Downloads.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#addCompletedDownload(java.lang.String,%20java.lang.String,%20boolean,%20java.lang.String,%20java.lang.String,%20long,%20boolean)" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.addCompletedDownload(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, long, 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 12" />
</Docs>
</Member>
<Member MemberName="AddCompletedDownload">
<MemberSignature Language="C#" Value="public virtual long AddCompletedDownload (string? title, string? description, bool isMediaScannerScannable, string? mimeType, string? path, long length, bool showNotification, Android.Net.Uri? uri, Android.Net.Uri? referer);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 AddCompletedDownload(string title, string description, bool isMediaScannerScannable, string mimeType, string path, int64 length, bool showNotification, class Android.Net.Uri uri, class Android.Net.Uri referer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.DownloadManager.AddCompletedDownload(System.String,System.String,System.Boolean,System.String,System.String,System.Int64,System.Boolean,Android.Net.Uri,Android.Net.Uri)" />
<MemberSignature Language="F#" Value="abstract member AddCompletedDownload : string * string * bool * string * string * int64 * bool * Android.Net.Uri * Android.Net.Uri -> int64
override this.AddCompletedDownload : string * string * bool * string * string * int64 * bool * Android.Net.Uri * Android.Net.Uri -> int64" Usage="downloadManager.AddCompletedDownload (title, description, isMediaScannerScannable, mimeType, path, length, showNotification, uri, referer)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addCompletedDownload", "(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;JZLandroid/net/Uri;Landroid/net/Uri;)J", "GetAddCompletedDownload_Ljava_lang_String_Ljava_lang_String_ZLjava_lang_String_Ljava_lang_String_JZLandroid_net_Uri_Landroid_net_Uri_Handler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addCompletedDownload", "(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;JZLandroid/net/Uri;Landroid/net/Uri;)J", "GetAddCompletedDownload_Ljava_lang_String_Ljava_lang_String_ZLjava_lang_String_Ljava_lang_String_JZLandroid_net_Uri_Landroid_net_Uri_Handler", 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.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="title" Type="System.String" />
<Parameter Name="description" Type="System.String" />
<Parameter Name="isMediaScannerScannable" Type="System.Boolean" />
<Parameter Name="mimeType" Type="System.String" />
<Parameter Name="path" Type="System.String" />
<Parameter Name="length" Type="System.Int64" />
<Parameter Name="showNotification" Type="System.Boolean" />
<Parameter Name="uri" Type="Android.Net.Uri" />
<Parameter Name="referer" Type="Android.Net.Uri" />
</Parameters>
<Docs>
<param name="title">the title that would appear for this file in Downloads App.</param>
<param name="description">the description that would appear for this file in Downloads App.</param>
<param name="isMediaScannerScannable">true if the file is to be scanned by MediaScanner. Files
scanned by MediaScanner appear in the applications used to view media (for example,
Gallery app).</param>
<param name="mimeType">mimetype of the file.</param>
<param name="path">absolute pathname to the file. The file should be world-readable, so that it can
be managed by the Downloads App and any other app that is used to read it (for example,
Gallery app to display the file, if the file contents represent a video/image).</param>
<param name="length">length of the downloaded file</param>
<param name="showNotification">true if a notification is to be sent, false otherwise</param>
<param name="uri">the original HTTP URI of the download</param>
<param name="referer">the HTTP Referer for the download</param>
<summary>Adds a file to the downloads database system, so it could appear in Downloads App
(and thus become eligible for management by the Downloads App).</summary>
<returns>an ID for the download entry added to the downloads app, unique across the system
This ID is used to make future calls related to this download.</returns>
<remarks>
<para>Adds a file to the downloads database system, so it could appear in Downloads App
(and thus become eligible for management by the Downloads App).</para>
<para>It is helpful to make the file scannable by MediaScanner by setting the param
isMediaScannerScannable to true. It makes the file visible in media managing
applications such as Gallery App, which could be a useful purpose of using this API.</para>
<para>For applications targeting <c>android.os.Build.VERSION_CODES#Q</c> or above,
<c>path</c> must be within directories owned by the application
{e.g. <c>Context#getExternalFilesDir(String)</c>} or if the application is running under
the legacy storage model (see
<c>android.R.styleable#AndroidManifestApplication_requestLegacyExternalStorage
android:requestLegacyExternalStorage</c>), <c>path</c> can also be within the top-level
Downloads directory (as returned by
<c>Environment#getExternalStoragePublicDirectory(String)</c> with
<c>Environment#DIRECTORY_DOWNLOADS</c>).</para>
<para>This member is deprecated. Apps should instead contribute files to
<c>android.provider.MediaStore.Downloads</c> collection to make them available to user
as part of Downloads.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#addCompletedDownload(java.lang.String,%20java.lang.String,%20boolean,%20java.lang.String,%20java.lang.String,%20long,%20boolean,%20android.net.Uri,%20android.net.Uri)" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.addCompletedDownload(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String, long, boolean, android.net.Uri, 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>
</Docs>
</Member>
<Member MemberName="ColumnBytesDownloadedSoFar">
<MemberSignature Language="C#" Value="public const string ColumnBytesDownloadedSoFar;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnBytesDownloadedSoFar" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnBytesDownloadedSoFar" />
<MemberSignature Language="F#" Value="val mutable ColumnBytesDownloadedSoFar : string" Usage="Android.App.DownloadManager.ColumnBytesDownloadedSoFar" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_BYTES_DOWNLOADED_SO_FAR")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_BYTES_DOWNLOADED_SO_FAR")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Number of bytes download so far.</summary>
<remarks>
<para>Number of bytes download so far.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_BYTES_DOWNLOADED_SO_FAR" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnDescription">
<MemberSignature Language="C#" Value="public const string ColumnDescription;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnDescription" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnDescription" />
<MemberSignature Language="F#" Value="val mutable ColumnDescription : string" Usage="Android.App.DownloadManager.ColumnDescription" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_DESCRIPTION")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_DESCRIPTION")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The client-supplied description of this download.</summary>
<remarks>
<para>The client-supplied description of this download. This will be displayed in system
notifications. Defaults to the empty string.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_DESCRIPTION" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_DESCRIPTION</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnId">
<MemberSignature Language="C#" Value="public const string ColumnId;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnId" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnId" />
<MemberSignature Language="F#" Value="val mutable ColumnId : string" Usage="Android.App.DownloadManager.ColumnId" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_ID")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_ID")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>An identifier for a particular download, unique across the system.</summary>
<remarks>
<para>An identifier for a particular download, unique across the system. Clients use this ID to
make subsequent calls related to the download.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_ID" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_ID</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnLastModifiedTimestamp">
<MemberSignature Language="C#" Value="public const string ColumnLastModifiedTimestamp;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnLastModifiedTimestamp" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnLastModifiedTimestamp" />
<MemberSignature Language="F#" Value="val mutable ColumnLastModifiedTimestamp : string" Usage="Android.App.DownloadManager.ColumnLastModifiedTimestamp" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_LAST_MODIFIED_TIMESTAMP")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_LAST_MODIFIED_TIMESTAMP")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Timestamp when the download was last modified, in <c>System#currentTimeMillis
System.currentTimeMillis()</c> (wall clock time in UTC).</summary>
<remarks>
<para>Timestamp when the download was last modified, in <c>System#currentTimeMillis
System.currentTimeMillis()</c> (wall clock time in UTC).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_LAST_MODIFIED_TIMESTAMP" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnLocalFilename">
<MemberSignature Language="C#" Value="public const string ColumnLocalFilename;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnLocalFilename" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnLocalFilename" />
<MemberSignature Language="F#" Value="val mutable ColumnLocalFilename : string" Usage="Android.App.DownloadManager.ColumnLocalFilename" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_LOCAL_FILENAME")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_LOCAL_FILENAME")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Path to the downloaded file on disk.</summary>
<remarks>
<para>Path to the downloaded file on disk.</para>
<para>Note that apps may not have filesystem permissions to directly access
this path. Instead of trying to open this path directly, apps should use
<c>ContentResolver#openFileDescriptor(Uri, String)</c> to gain access.</para>
<para>This member is deprecated. apps should transition to using
<c>ContentResolver#openFileDescriptor(Uri, String)</c>
instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_LOCAL_FILENAME" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_LOCAL_FILENAME</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="ColumnLocalUri">
<MemberSignature Language="C#" Value="public const string ColumnLocalUri;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnLocalUri" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnLocalUri" />
<MemberSignature Language="F#" Value="val mutable ColumnLocalUri : string" Usage="Android.App.DownloadManager.ColumnLocalUri" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_LOCAL_URI")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_LOCAL_URI")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Uri where downloaded file will be stored.</summary>
<remarks>
<para>Uri where downloaded file will be stored. If a destination is supplied by client, that URI
will be used here. Otherwise, the value will initially be null and will be filled in with a
generated URI once the download has started.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_LOCAL_URI" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_LOCAL_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 9" />
</Docs>
</Member>
<Member MemberName="ColumnMediaproviderUri">
<MemberSignature Language="C#" Value="public const string ColumnMediaproviderUri;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnMediaproviderUri" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnMediaproviderUri" />
<MemberSignature Language="F#" Value="val mutable ColumnMediaproviderUri : string" Usage="Android.App.DownloadManager.ColumnMediaproviderUri" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_MEDIAPROVIDER_URI")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_MEDIAPROVIDER_URI")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The URI to the corresponding entry in MediaProvider for this downloaded entry.</summary>
<remarks>
<para>The URI to the corresponding entry in MediaProvider for this downloaded entry. It is
used to delete the entries from MediaProvider database when it is deleted from the
downloaded list.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_MEDIAPROVIDER_URI" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_MEDIAPROVIDER_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 9" />
</Docs>
</Member>
<Member MemberName="ColumnMediaType">
<MemberSignature Language="C#" Value="public const string ColumnMediaType;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnMediaType" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnMediaType" />
<MemberSignature Language="F#" Value="val mutable ColumnMediaType : string" Usage="Android.App.DownloadManager.ColumnMediaType" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_MEDIA_TYPE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_MEDIA_TYPE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Internet Media Type of the downloaded file.</summary>
<remarks>
<para>Internet Media Type of the downloaded file. If no value is provided upon creation, this will
initially be null and will be filled in based on the server's response once the download has
started.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_MEDIA_TYPE" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_MEDIA_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>
<since version="Added in API level 9" />
</Docs>
</Member>
<Member MemberName="ColumnReason">
<MemberSignature Language="C#" Value="public const string ColumnReason;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnReason" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnReason" />
<MemberSignature Language="F#" Value="val mutable ColumnReason : string" Usage="Android.App.DownloadManager.ColumnReason" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_REASON")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_REASON")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Provides more detail on the status of the download.</summary>
<remarks>
<para>Provides more detail on the status of the download. Its meaning depends on the value of
<c>#COLUMN_STATUS</c>.
When <c>#COLUMN_STATUS</c> is <c>#STATUS_FAILED</c>, this indicates the type of error that
occurred. If an HTTP error occurred, this will hold the HTTP status code as defined in RFC
2616. Otherwise, it will hold one of the ERROR_* constants.
When <c>#COLUMN_STATUS</c> is <c>#STATUS_PAUSED</c>, this indicates why the download is
paused. It will hold one of the PAUSED_* constants.
If <c>#COLUMN_STATUS</c> is neither <c>#STATUS_FAILED</c> nor <c>#STATUS_PAUSED</c>, this
column's value is undefined.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_REASON" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_REASON</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnStatus">
<MemberSignature Language="C#" Value="public const string ColumnStatus;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnStatus" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnStatus" />
<MemberSignature Language="F#" Value="val mutable ColumnStatus : string" Usage="Android.App.DownloadManager.ColumnStatus" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_STATUS")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_STATUS")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Current status of the download, as one of the STATUS_* constants.</summary>
<remarks>
<para>Current status of the download, as one of the STATUS_* constants.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_STATUS" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_STATUS</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnTitle">
<MemberSignature Language="C#" Value="public const string ColumnTitle;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnTitle" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnTitle" />
<MemberSignature Language="F#" Value="val mutable ColumnTitle : string" Usage="Android.App.DownloadManager.ColumnTitle" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_TITLE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_TITLE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The client-supplied title for this download.</summary>
<remarks>
<para>The client-supplied title for this download. This will be displayed in system notifications.
Defaults to the empty string.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_TITLE" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_TITLE</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnTotalSizeBytes">
<MemberSignature Language="C#" Value="public const string ColumnTotalSizeBytes;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnTotalSizeBytes" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnTotalSizeBytes" />
<MemberSignature Language="F#" Value="val mutable ColumnTotalSizeBytes : string" Usage="Android.App.DownloadManager.ColumnTotalSizeBytes" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_TOTAL_SIZE_BYTES")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_TOTAL_SIZE_BYTES")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Total size of the download in bytes.</summary>
<remarks>
<para>Total size of the download in bytes. This will initially be -1 and will be filled in once
the download starts.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_TOTAL_SIZE_BYTES" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_TOTAL_SIZE_BYTES</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 9" />
</Docs>
</Member>
<Member MemberName="ColumnUri">
<MemberSignature Language="C#" Value="public const string ColumnUri;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ColumnUri" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ColumnUri" />
<MemberSignature Language="F#" Value="val mutable ColumnUri : string" Usage="Android.App.DownloadManager.ColumnUri" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("COLUMN_URI")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("COLUMN_URI")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>URI to be downloaded.</summary>
<remarks>
<para>URI to be downloaded.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#COLUMN_URI" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.COLUMN_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 9" />
</Docs>
</Member>
<Member MemberName="Enqueue">
<MemberSignature Language="C#" Value="public virtual long Enqueue (Android.App.DownloadManager.Request? request);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int64 Enqueue(class Android.App.DownloadManager/Request request) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.DownloadManager.Enqueue(Android.App.DownloadManager.Request)" />
<MemberSignature Language="F#" Value="abstract member Enqueue : Android.App.DownloadManager.Request -> int64
override this.Enqueue : Android.App.DownloadManager.Request -> int64" Usage="downloadManager.Enqueue request" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("enqueue", "(Landroid/app/DownloadManager$Request;)J", "GetEnqueue_Landroid_app_DownloadManager_Request_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("enqueue", "(Landroid/app/DownloadManager$Request;)J", "GetEnqueue_Landroid_app_DownloadManager_Request_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="request" Type="Android.App.DownloadManager+Request" />
</Parameters>
<Docs>
<param name="request">the parameters specifying this download</param>
<summary>Enqueue a new download.</summary>
<returns>an ID for the download, unique across the system. This ID is used to make future
calls related to this download.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#enqueue(android.app.Request)" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.enqueue(android.app.Request)</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 9" />
</Docs>
</Member>
<Member MemberName="ErrorCannotResume">
<MemberSignature Language="C#" Value="public const Android.App.DownloadError ErrorCannotResume = 1008;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.DownloadError ErrorCannotResume = (1008)" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ErrorCannotResume" />
<MemberSignature Language="F#" Value="val mutable ErrorCannotResume : Android.App.DownloadError" Usage="Android.App.DownloadManager.ErrorCannotResume" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_CANNOT_RESUME")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_CANNOT_RESUME")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.DownloadError</ReturnType>
</ReturnValue>
<MemberValue>1008</MemberValue>
<Docs>
<summary>Value of <c>#COLUMN_REASON</c> when some possibly transient error occurred but we can't
resume the download.</summary>
<remarks>
<para>Value of <c>#COLUMN_REASON</c> when some possibly transient error occurred but we can't
resume the download.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#ERROR_CANNOT_RESUME" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.ERROR_CANNOT_RESUME</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 9" />
</Docs>
</Member>
<Member MemberName="ErrorDeviceNotFound">
<MemberSignature Language="C#" Value="public const Android.App.DownloadError ErrorDeviceNotFound = 1007;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.DownloadError ErrorDeviceNotFound = (1007)" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ErrorDeviceNotFound" />
<MemberSignature Language="F#" Value="val mutable ErrorDeviceNotFound : Android.App.DownloadError" Usage="Android.App.DownloadManager.ErrorDeviceNotFound" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ERROR_DEVICE_NOT_FOUND")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ERROR_DEVICE_NOT_FOUND")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.DownloadError</ReturnType>
</ReturnValue>
<MemberValue>1007</MemberValue>
<Docs>
<summary>Value of <c>#COLUMN_REASON</c> when no external storage device was found.</summary>
<remarks>
<para>Value of <c>#COLUMN_REASON</c> when no external storage device was found. Typically,
this is because the SD card is not mounted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/DownloadManager#ERROR_DEVICE_NOT_FOUND" title="Reference documentation">Java documentation for <code>android.app.DownloadManager.ERROR_DEVICE_NOT_FOUND</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 9" />
</Docs>
</Member>
<Member MemberName="ErrorFileAlreadyExists">
<MemberSignature Language="C#" Value="public const Android.App.DownloadError ErrorFileAlreadyExists = 1009;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.DownloadError ErrorFileAlreadyExists = (1009)" />
<MemberSignature Language="DocId" Value="F:Android.App.DownloadManager.ErrorFileAlreadyExists" />
<MemberSignature Language="F#" Value="val mutable ErrorFileAlreadyExists : Android.App.DownloadError" Usage="Android.App.DownloadManager.ErrorFileAlreadyExists" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>