-
Notifications
You must be signed in to change notification settings - Fork 0
/
JobScheduler.xml
1712 lines (1708 loc) · 119 KB
/
JobScheduler.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="JobScheduler" FullName="Android.App.Job.JobScheduler">
<TypeSignature Language="C#" Value="public abstract class JobScheduler : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit JobScheduler extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.App.Job.JobScheduler" />
<TypeSignature Language="F#" Value="type JobScheduler = 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/job/JobScheduler", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/app/job/JobScheduler", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="21">
<summary>This is an API for scheduling various types of jobs against the framework that will be executed
in your application's own process.</summary>
<remarks>
<para>This is an API for scheduling various types of jobs against the framework that will be executed
in your application's own process.</para>
<para>See <c>android.app.job.JobInfo</c> for more description of the types of jobs that can be run
and how to construct them. You will construct these JobInfo objects and pass them to the
JobScheduler with <c>#schedule(JobInfo)</c>. When the criteria declared are met, the
system will execute this job on your application's <c>android.app.job.JobService</c>.
You identify the service component that implements the logic for your job when you
construct the JobInfo using
<c>android.app.job.JobInfo.Builder#Builder(int,android.content.ComponentName)</c>.</para>
<para>The framework will be intelligent about when it executes jobs, and attempt to batch
and defer them as much as possible. Typically, if you don't specify a deadline on a job, it
can be run at any moment depending on the current state of the JobScheduler's internal queue.</para>
<para>Starting in Android version <c>android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE</c>,
JobScheduler may try to optimize job execution by shifting execution to times with more available
system resources in order to lower user impact. Factors in system health include sufficient
battery, idle, charging, and access to an un-metered network. Jobs will initially be treated as
if they have all these requirements, but as their deadlines approach, restrictions will become
less strict. Requested requirements will not be affected by this change.</para>
<para>
<c>android.app.job.JobInfo.Builder#setRequiresBatteryNotLow(boolean)</c>
<c>android.app.job.JobInfo.Builder#setRequiresDeviceIdle(boolean)</c>
<c>android.app.job.JobInfo.Builder#setRequiresCharging(boolean)</c>
<c>android.app.job.JobInfo.Builder#setRequiredNetworkType(int)</c>
</para>
<para>While a job is running, the system holds a wakelock on behalf of your app. For this reason,
you do not need to take any action to guarantee that the device stays awake for the
duration of the job.</para>
<para>You do not
instantiate this class directly; instead, retrieve it through
<c>android.content.Context#getSystemService
Context.getSystemService(Context.JOB_SCHEDULER_SERVICE)</c>.</para>
<para>Prior to Android version <c>android.os.Build.VERSION_CODES#S</c>, jobs could only have
a maximum of 100 jobs scheduled at a time. Starting with Android version
<c>android.os.Build.VERSION_CODES#S</c>, that limit has been increased to 150.
Expedited jobs also count towards the limit.</para>
<para>In Android version <c>android.os.Build.VERSION_CODES#LOLLIPOP</c>, jobs had a maximum
execution time of one minute. Starting with Android version
<c>android.os.Build.VERSION_CODES#M</c> and ending with Android version
<c>android.os.Build.VERSION_CODES#R</c>, jobs had a maximum execution time of 10 minutes.
Starting from Android version <c>android.os.Build.VERSION_CODES#S</c>, jobs will still be
stopped after 10 minutes if the system is busy or needs the resources, but if not, jobs
may continue running longer than 10 minutes.
<p class="caution"><strong>Note:</strong> Beginning with API 30
(<c>android.os.Build.VERSION_CODES#R</c>), JobScheduler will throttle runaway applications.
Calling <c>#schedule(JobInfo)</c> and other such methods with very high frequency can have a
high cost and so, to make sure the system doesn't get overwhelmed, JobScheduler will begin
to throttle apps, regardless of target SDK version.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler</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>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public JobScheduler ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>
</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected JobScheduler (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.Job.JobScheduler.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.App.Job.JobScheduler : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Job.JobScheduler" Usage="new Android.App.Job.JobScheduler (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="AllPendingJobs">
<MemberSignature Language="C#" Value="public abstract System.Collections.Generic.IList<Android.App.Job.JobInfo> AllPendingJobs { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1<class Android.App.Job.JobInfo> AllPendingJobs" />
<MemberSignature Language="DocId" Value="P:Android.App.Job.JobScheduler.AllPendingJobs" />
<MemberSignature Language="F#" Value="member this.AllPendingJobs : System.Collections.Generic.IList<Android.App.Job.JobInfo>" Usage="Android.App.Job.JobScheduler.AllPendingJobs" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllPendingJobs", "()Ljava/util/List;", "GetGetAllPendingJobsHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllPendingJobs", "()Ljava/util/List;", "GetGetAllPendingJobsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<Android.App.Job.JobInfo></ReturnType>
</ReturnValue>
<Docs>
<summary>
</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Cancel">
<MemberSignature Language="C#" Value="public abstract void Cancel (int jobId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Cancel(int32 jobId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.Cancel(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Cancel : int -> unit" Usage="jobScheduler.Cancel jobId" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancel", "(I)V", "GetCancel_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancel", "(I)V", "GetCancel_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="jobId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="jobId">unique identifier for the job to be canceled, as supplied to
<c>JobInfo.Builder#Builder(int, android.content.ComponentName)
JobInfo.Builder(int, android.content.ComponentName)</c>.</param>
<summary>Cancel the specified job.</summary>
<remarks>
<para>Cancel the specified job. If the job is currently executing, it is stopped
immediately and the return value from its <c>JobService#onStopJob(JobParameters)</c>
method is ignored.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#cancel(int)" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.cancel(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="CancelAll">
<MemberSignature Language="C#" Value="public abstract void CancelAll ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CancelAll() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.CancelAll" />
<MemberSignature Language="F#" Value="abstract member CancelAll : unit -> unit" Usage="jobScheduler.CancelAll " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancelAll", "()V", "GetCancelAllHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancelAll", "()V", "GetCancelAllHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Cancel all jobs that have been scheduled in the current namespace by the
calling application.</summary>
<remarks>
<para>Cancel all jobs that have been scheduled in the current namespace by the
calling application.</para>
<para>Starting with Android version <c>android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE</c>, this
will only cancel within the current namespace. If a namespace hasn't been explicitly set
with <c>#forNamespace(String)</c>, then this will cancel jobs in the default namespace.
To cancel all jobs scheduled by the application,
use <c>#cancelInAllNamespaces()</c> instead.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#cancelAll()" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.cancelAll()</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="CancelInAllNamespaces">
<MemberSignature Language="C#" Value="public virtual void CancelInAllNamespaces ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CancelInAllNamespaces() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.CancelInAllNamespaces" />
<MemberSignature Language="F#" Value="abstract member CancelInAllNamespaces : unit -> unit
override this.CancelInAllNamespaces : unit -> unit" Usage="jobScheduler.CancelInAllNamespaces " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("cancelInAllNamespaces", "()V", "GetCancelInAllNamespacesHandler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("cancelInAllNamespaces", "()V", "GetCancelInAllNamespacesHandler", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Cancel <em>all</em> jobs that have been scheduled by the calling application, regardless of
namespace.</summary>
<remarks>
<para>Cancel <em>all</em> jobs that have been scheduled by the calling application, regardless of
namespace.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#cancelInAllNamespaces()" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.cancelInAllNamespaces()</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="CanRunUserInitiatedJobs">
<MemberSignature Language="C#" Value="public virtual bool CanRunUserInitiatedJobs ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanRunUserInitiatedJobs() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.CanRunUserInitiatedJobs" />
<MemberSignature Language="F#" Value="abstract member CanRunUserInitiatedJobs : unit -> bool
override this.CanRunUserInitiatedJobs : unit -> bool" Usage="jobScheduler.CanRunUserInitiatedJobs " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("canRunUserInitiatedJobs", "()Z", "GetCanRunUserInitiatedJobsHandler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("canRunUserInitiatedJobs", "()Z", "GetCanRunUserInitiatedJobsHandler", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns <c>true</c> if the calling app currently holds the
<c>android.Manifest.permission#RUN_USER_INITIATED_JOBS</c> permission, allowing it to run
user-initiated jobs.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns <c>true</c> if the calling app currently holds the
<c>android.Manifest.permission#RUN_USER_INITIATED_JOBS</c> permission, allowing it to run
user-initiated jobs.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#canRunUserInitiatedJobs()" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.canRunUserInitiatedJobs()</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="Enqueue">
<MemberSignature Language="C#" Value="public abstract int Enqueue (Android.App.Job.JobInfo job, Android.App.Job.JobWorkItem work);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Enqueue(class Android.App.Job.JobInfo job, class Android.App.Job.JobWorkItem work) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.Enqueue(Android.App.Job.JobInfo,Android.App.Job.JobWorkItem)" />
<MemberSignature Language="F#" Value="abstract member Enqueue : Android.App.Job.JobInfo * Android.App.Job.JobWorkItem -> int" Usage="jobScheduler.Enqueue (job, work)" />
<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/job/JobInfo;Landroid/app/job/JobWorkItem;)I", "GetEnqueue_Landroid_app_job_JobInfo_Landroid_app_job_JobWorkItem_Handler", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("enqueue", "(Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I", "GetEnqueue_Landroid_app_job_JobInfo_Landroid_app_job_JobWorkItem_Handler", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="job" Type="Android.App.Job.JobInfo" />
<Parameter Name="work" Type="Android.App.Job.JobWorkItem" />
</Parameters>
<Docs>
<param name="job">The job you wish to enqueue work for. See
<c>android.app.job.JobInfo.Builder JobInfo.Builder</c> for more detail on the sorts of jobs
you can schedule.</param>
<param name="work">New work to enqueue. This will be available later when the job starts running.</param>
<summary>Similar to <c>#schedule</c>, but allows you to enqueue work for a new <em>or existing</em>
job.</summary>
<returns>the result of the enqueue request.</returns>
<remarks>
<para>Similar to <c>#schedule</c>, but allows you to enqueue work for a new <em>or existing</em>
job. If a job with the same ID is already scheduled, it will be replaced with the
new <c>JobInfo</c>, but any previously enqueued work will remain and be dispatched the
next time it runs. If a job with the same ID is already running, the new work will be
enqueued for it without stopping the job.</para>
<para>The work you enqueue is later retrieved through
<c>JobParameters#dequeueWork() JobParameters.dequeueWork</c>. Be sure to see there
about how to process work; the act of enqueueing work changes how you should handle the
overall lifecycle of an executing job.</para>
<para>It is strongly encouraged that you use the same <c>JobInfo</c> for all work you
enqueue. This will allow the system to optimally schedule work along with any pending
and/or currently running work. If the JobInfo changes from the last time the job was
enqueued, the system will need to update the associated JobInfo, which can cause a disruption
in execution. In particular, this can result in any currently running job that is processing
previous work to be stopped and restarted with the new JobInfo.</para>
<para>It is recommended that you avoid using
<c>JobInfo.Builder#setExtras(PersistableBundle)</c> or
<c>JobInfo.Builder#setTransientExtras(Bundle)</c> with a JobInfo you are using to
enqueue work. The system will try to compare these extras with the previous JobInfo,
but there are situations where it may get this wrong and count the JobInfo as changing.
(That said, you should be relatively safe with a simple set of consistent data in these
fields.) You should never use <c>JobInfo.Builder#setClipData(ClipData, int)</c> with
work you are enqueuing, since currently this will always be treated as a different JobInfo,
even if the ClipData contents are exactly the same.</para>
<para><p class="caution"><strong>Note:</strong> Scheduling a job can have a high cost, even if it's
rescheduling the same job and the job didn't execute, especially on platform versions before
version <c>android.os.Build.VERSION_CODES#Q</c>. As such, the system may throttle calls to
this API if calls are made too frequently in a short amount of time.
<p class="caution"><strong>Note:</strong> Prior to Android version
<c>android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE</c>, JobWorkItems could not be persisted.
Apps were not allowed to enqueue JobWorkItems with persisted jobs and the system would throw
an <c>IllegalArgumentException</c> if they attempted to do so. Starting with
<c>android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE</c>,
JobWorkItems can be persisted alongside the hosting job.
However, Intents cannot be persisted. Set a <c>PersistableBundle</c> using
<c>JobWorkItem.Builder#setExtras(PersistableBundle)</c> for any information that needs
to be persisted.</para>
<para>Note: The JobService component needs to be enabled in order to successfully schedule a
job.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#enqueue(android.app.job.JobInfo,%20android.app.job.JobWorkItem)" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.enqueue(android.app.job.JobInfo, android.app.job.JobWorkItem)</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="ForNamespace">
<MemberSignature Language="C#" Value="public virtual Android.App.Job.JobScheduler ForNamespace (string namespace);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.App.Job.JobScheduler ForNamespace(string namespace) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.ForNamespace(System.String)" />
<MemberSignature Language="F#" Value="abstract member ForNamespace : string -> Android.App.Job.JobScheduler
override this.ForNamespace : string -> Android.App.Job.JobScheduler" Usage="jobScheduler.ForNamespace namespace" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("forNamespace", "(Ljava/lang/String;)Landroid/app/job/JobScheduler;", "GetForNamespace_Ljava_lang_String_Handler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("forNamespace", "(Ljava/lang/String;)Landroid/app/job/JobScheduler;", "GetForNamespace_Ljava_lang_String_Handler", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.JobScheduler</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="namespace" Type="System.String" />
</Parameters>
<Docs>
<param name="namespace">To be added.</param>
<summary>Get a JobScheduler instance that is dedicated to a specific namespace.</summary>
<returns>To be added.</returns>
<remarks>
<para>Get a JobScheduler instance that is dedicated to a specific namespace. Any API calls using
this instance will interact with jobs in that namespace, unless the API documentation says
otherwise. Attempting to update a job scheduled in another namespace will not be possible
but will instead create or update the job inside the current namespace. A JobScheduler
instance dedicated to a namespace must be used to schedule or update jobs in that namespace.
<p class="note">Since leading and trailing whitespace can lead to hard-to-debug issues,
they will be <c>String#trim() trimmed</c>. An empty String (after trimming) is not allowed.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#forNamespace(java.lang.String)" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.forNamespace(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetPendingJob">
<MemberSignature Language="C#" Value="public abstract Android.App.Job.JobInfo? GetPendingJob (int jobId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.App.Job.JobInfo GetPendingJob(int32 jobId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.GetPendingJob(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetPendingJob : int -> Android.App.Job.JobInfo" Usage="jobScheduler.GetPendingJob jobId" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getPendingJob", "(I)Landroid/app/job/JobInfo;", "GetGetPendingJob_IHandler", ApiSince=24)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getPendingJob", "(I)Landroid/app/job/JobInfo;", "GetGetPendingJob_IHandler", ApiSince=24)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android24.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android24.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.JobInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="jobId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="jobId">To be added.</param>
<summary>Look up the description of a scheduled job.</summary>
<returns>The <c>JobInfo</c> description of the given scheduled job, or <c>null</c>
if the supplied job ID does not correspond to any job.</returns>
<remarks>
<para>Look up the description of a scheduled job.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#getPendingJob(int)" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.getPendingJob(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetPendingJobReason">
<MemberSignature Language="C#" Value="public virtual Android.App.Job.PendingJobReason GetPendingJobReason (int jobId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Android.App.Job.PendingJobReason GetPendingJobReason(int32 jobId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.Job.JobScheduler.GetPendingJobReason(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetPendingJobReason : int -> Android.App.Job.PendingJobReason
override this.GetPendingJobReason : int -> Android.App.Job.PendingJobReason" Usage="jobScheduler.GetPendingJobReason jobId" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getPendingJobReason", "(I)I", "GetGetPendingJobReason_IHandler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getPendingJobReason", "(I)I", "GetGetPendingJobReason_IHandler", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="jobId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="jobId">To be added.</param>
<summary>Returns a reason why the job is pending and not currently executing.</summary>
<returns>To be added.</returns>
<remarks>
<para>Returns a reason why the job is pending and not currently executing. If there are multiple
reasons why a job may be pending, this will only return one of them.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#getPendingJobReason(int)" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.getPendingJobReason(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.App.Job.JobScheduler.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.App.Job.JobScheduler.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Namespace">
<MemberSignature Language="C#" Value="public virtual string? Namespace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Namespace" />
<MemberSignature Language="DocId" Value="P:Android.App.Job.JobScheduler.Namespace" />
<MemberSignature Language="F#" Value="member this.Namespace : string" Usage="Android.App.Job.JobScheduler.Namespace" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getNamespace", "()Ljava/lang/String;", "GetGetNamespaceHandler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getNamespace", "()Ljava/lang/String;", "GetGetNamespaceHandler", ApiSince=34)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Get the namespace this JobScheduler instance is operating in.</summary>
<value>To be added.</value>
<remarks>
<para>Get the namespace this JobScheduler instance is operating in. A <c>null</c> value means
that the app has not specified a namespace for this instance, and it is therefore using the
default namespace.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#getNamespace()" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.getNamespace()</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="PendingJobReasonApp">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonApp = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonApp = (1)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonApp" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonApp : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonApp" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_APP", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_APP", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The app is in a state that prevents the job from running
(eg.</summary>
<remarks>
<para>The app is in a state that prevents the job from running
(eg. the <c>JobService</c> component is disabled).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_APP" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_APP</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="PendingJobReasonAppStandby">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonAppStandby = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonAppStandby = (2)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonAppStandby" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonAppStandby : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonAppStandby" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_APP_STANDBY", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_APP_STANDBY", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>The current standby bucket prevents the job from running.</summary>
<remarks>
<para>The current standby bucket prevents the job from running.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_APP_STANDBY" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_APP_STANDBY</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="PendingJobReasonBackgroundRestriction">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonBackgroundRestriction = 3;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonBackgroundRestriction = (3)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonBackgroundRestriction" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonBackgroundRestriction : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonBackgroundRestriction" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_BACKGROUND_RESTRICTION", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_BACKGROUND_RESTRICTION", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>The app is restricted from running in the background.</summary>
<remarks>
<para>The app is restricted from running in the background.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_BACKGROUND_RESTRICTION" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_BACKGROUND_RESTRICTION</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="PendingJobReasonConstraintBatteryNotLow">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonConstraintBatteryNotLow = 4;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonConstraintBatteryNotLow = (4)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonConstraintBatteryNotLow" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonConstraintBatteryNotLow : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonConstraintBatteryNotLow" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>The requested battery-not-low constraint is not satisfied.</summary>
<remarks>
<para>The requested battery-not-low constraint is not satisfied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_CONSTRAINT_BATTERY_NOT_LOW</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="PendingJobReasonConstraintCharging">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonConstraintCharging = 5;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonConstraintCharging = (5)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonConstraintCharging" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonConstraintCharging : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonConstraintCharging" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CHARGING", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CHARGING", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>The requested charging constraint is not satisfied.</summary>
<remarks>
<para>The requested charging constraint is not satisfied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_CONSTRAINT_CHARGING" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_CONSTRAINT_CHARGING</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="PendingJobReasonConstraintConnectivity">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonConstraintConnectivity = 6;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonConstraintConnectivity = (6)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonConstraintConnectivity" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonConstraintConnectivity : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonConstraintConnectivity" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>6</MemberValue>
<Docs>
<summary>The requested connectivity constraint is not satisfied.</summary>
<remarks>
<para>The requested connectivity constraint is not satisfied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_CONSTRAINT_CONNECTIVITY</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="PendingJobReasonConstraintContentTrigger">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonConstraintContentTrigger = 7;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonConstraintContentTrigger = (7)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonConstraintContentTrigger" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonConstraintContentTrigger : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonConstraintContentTrigger" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>7</MemberValue>
<Docs>
<summary>The requested content trigger constraint is not satisfied.</summary>
<remarks>
<para>The requested content trigger constraint is not satisfied.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/job/JobScheduler#PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER" title="Reference documentation">Java documentation for <code>android.app.job.JobScheduler.PENDING_JOB_REASON_CONSTRAINT_CONTENT_TRIGGER</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="PendingJobReasonConstraintDeviceIdle">
<MemberSignature Language="C#" Value="public const Android.App.Job.PendingJobReason PendingJobReasonConstraintDeviceIdle = 8;" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Android.App.Job.PendingJobReason PendingJobReasonConstraintDeviceIdle = (8)" />
<MemberSignature Language="DocId" Value="F:Android.App.Job.JobScheduler.PendingJobReasonConstraintDeviceIdle" />
<MemberSignature Language="F#" Value="val mutable PendingJobReasonConstraintDeviceIdle : Android.App.Job.PendingJobReason" Usage="Android.App.Job.JobScheduler.PendingJobReasonConstraintDeviceIdle" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_DEVICE_IDLE", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("PENDING_JOB_REASON_CONSTRAINT_DEVICE_IDLE", ApiSince=34)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason 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.Job.PendingJobReason enum directly instead of this field.", true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android34.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android34.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.App.Job.PendingJobReason</ReturnType>
</ReturnValue>
<MemberValue>8</MemberValue>
<Docs>
<summary>The requested idle constraint is not satisfied.</summary>
<remarks>
<para>The requested idle constraint is not satisfied.</para>
<para>
<format type="text/html">