This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
PackageInstaller.xml
2024 lines (2023 loc) · 143 KB
/
PackageInstaller.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="PackageInstaller" FullName="Android.Content.PM.PackageInstaller">
<TypeSignature Language="C#" Value="public class PackageInstaller : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PackageInstaller extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Content.PM.PackageInstaller" />
<TypeSignature Language="F#" Value="type PackageInstaller = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/content/pm/PackageInstaller", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/content/pm/PackageInstaller", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="21">
<summary>Offers the ability to install, upgrade, and remove applications on the
device.</summary>
<remarks>
<para>Offers the ability to install, upgrade, and remove applications on the
device. This includes support for apps packaged either as a single
"monolithic" APK, or apps packaged as multiple "split" APKs.</para>
<para>An app is delivered for installation through a
<c>PackageInstaller.Session</c>, which any app can create. Once the session
is created, the installer can stream one or more APKs into place until it
decides to either commit or destroy the session. Committing may require user
intervention to complete the installation, unless the caller falls into one of the
following categories, in which case the installation will complete automatically.
<ul>
<li>the device owner
<li>the affiliated profile owner
</ul></para>
<para>Sessions can install brand new apps, upgrade existing apps, or add new splits
into an existing app.</para>
<para>Apps packaged as multiple split APKs always consist of a single "base" APK
(with a <c>null</c> split name) and zero or more "split" APKs (with unique
split names). Any subset of these APKs can be installed together, as long as
the following constraints are met:
<ul>
<li>All APKs must have the exact same package name, version code, and signing
certificates.
<li>All APKs must have unique split names.
<li>All installations must contain a single base APK.
</ul></para>
<para>The ApiDemos project contains examples of using this API:
<c>ApiDemos/src/com/example/android/apis/content/InstallApk*.java</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller</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="protected PackageInstaller (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Content.PM.PackageInstaller : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.PackageInstaller" Usage="new Android.Content.PM.PackageInstaller (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="AbandonSession">
<MemberSignature Language="C#" Value="public virtual void AbandonSession (int sessionId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AbandonSession(int32 sessionId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.AbandonSession(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member AbandonSession : int -> unit
override this.AbandonSession : int -> unit" Usage="packageInstaller.AbandonSession sessionId" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("abandonSession", "(I)V", "GetAbandonSession_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("abandonSession", "(I)V", "GetAbandonSession_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sessionId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="sessionId">To be added.</param>
<summary>Completely abandon the given session, destroying all staged data and
rendering it invalid.</summary>
<remarks>
<para>Completely abandon the given session, destroying all staged data and
rendering it invalid. Abandoned sessions will be reported to
<c>SessionCallback</c> listeners as failures. This is equivalent to
opening the session and calling <c>Session#abandon()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#abandonSession(int)" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.abandonSession(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>
<exception cref="T:Java.Lang.SecurityException">when the caller does not own the session, or
the session is invalid.
</exception>
</Docs>
</Member>
<Member MemberName="ActionSessionCommitted">
<MemberSignature Language="C#" Value="public const string ActionSessionCommitted;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionSessionCommitted" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ActionSessionCommitted" />
<MemberSignature Language="F#" Value="val mutable ActionSessionCommitted : string" Usage="Android.Content.PM.PackageInstaller.ActionSessionCommitted" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_SESSION_COMMITTED", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_SESSION_COMMITTED", 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Broadcast Action: Explicit broadcast sent to the last known default launcher when a session
for a new install is committed.</summary>
<remarks>
<para>Broadcast Action: Explicit broadcast sent to the last known default launcher when a session
for a new install is committed. For managed profile, this is sent to the default launcher
of the primary profile.</para>
<para>The associated session is defined in <c>#EXTRA_SESSION</c> and the user for which this
session was created in <c>Intent#EXTRA_USER</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#ACTION_SESSION_COMMITTED" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.ACTION_SESSION_COMMITTED</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="ActionSessionDetails">
<MemberSignature Language="C#" Value="public const string ActionSessionDetails;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionSessionDetails" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ActionSessionDetails" />
<MemberSignature Language="F#" Value="val mutable ActionSessionDetails : string" Usage="Android.Content.PM.PackageInstaller.ActionSessionDetails" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_SESSION_DETAILS")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_SESSION_DETAILS")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Activity Action: Show details about a particular install session.</summary>
<remarks>
<para>Activity Action: Show details about a particular install session. This
may surface actions such as pause, resume, or cancel.</para>
<para>This should always be scoped to the installer package that owns the
session. Clients should use <c>SessionInfo#createDetailsIntent()</c> to
build this intent correctly.</para>
<para>In some cases, a matching Activity may not exist, so ensure you safeguard
against this.</para>
<para>The session to show details for is defined in <c>#EXTRA_SESSION_ID</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#ACTION_SESSION_DETAILS" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.ACTION_SESSION_DETAILS</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="ActionSessionUpdated">
<MemberSignature Language="C#" Value="public const string ActionSessionUpdated;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ActionSessionUpdated" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ActionSessionUpdated" />
<MemberSignature Language="F#" Value="val mutable ActionSessionUpdated : string" Usage="Android.Content.PM.PackageInstaller.ActionSessionUpdated" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("ACTION_SESSION_UPDATED", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("ACTION_SESSION_UPDATED", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Broadcast Action: Send information about a staged install session when its state is updated.</summary>
<remarks>
<para>Broadcast Action: Send information about a staged install session when its state is updated.</para>
<para>The associated session information is defined in <c>#EXTRA_SESSION</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#ACTION_SESSION_UPDATED" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.ACTION_SESSION_UPDATED</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="ActiveStagedSession">
<MemberSignature Language="C#" Value="public virtual Android.Content.PM.PackageInstaller.SessionInfo? ActiveStagedSession { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Android.Content.PM.PackageInstaller/SessionInfo ActiveStagedSession" />
<MemberSignature Language="DocId" Value="P:Android.Content.PM.PackageInstaller.ActiveStagedSession" />
<MemberSignature Language="F#" Value="member this.ActiveStagedSession : Android.Content.PM.PackageInstaller.SessionInfo" Usage="Android.Content.PM.PackageInstaller.ActiveStagedSession" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getActiveStagedSession", "()Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetActiveStagedSessionHandler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getActiveStagedSession", "()Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetActiveStagedSessionHandler", ApiSince=29)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.PackageInstaller+SessionInfo</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns first active staged session, or <c>null</c> if there is none.</summary>
<value>To be added.</value>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#getActiveStagedSession()" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.getActiveStagedSession()</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="ActiveStagedSessions">
<MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo> ActiveStagedSessions { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1<class Android.Content.PM.PackageInstaller/SessionInfo> ActiveStagedSessions" />
<MemberSignature Language="DocId" Value="P:Android.Content.PM.PackageInstaller.ActiveStagedSessions" />
<MemberSignature Language="F#" Value="member this.ActiveStagedSessions : System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo>" Usage="Android.Content.PM.PackageInstaller.ActiveStagedSessions" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android30.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android30.0")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getActiveStagedSessions", "()Ljava/util/List;", "GetGetActiveStagedSessionsHandler", ApiSince=30)]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getActiveStagedSessions", "()Ljava/util/List;", "GetGetActiveStagedSessionsHandler", ApiSince=30)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<Android.Content.PM.PackageInstaller+SessionInfo></ReturnType>
</ReturnValue>
<Docs>
<summary>Returns list of active staged sessions.</summary>
<value>To be added.</value>
<remarks>
<para>Returns list of active staged sessions. Returns empty list if there is none.</para>
<para>For more information on what sessions are considered active see
* <c>SessionInfo#isStagedSessionActive()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#getActiveStagedSessions()" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.getActiveStagedSessions()</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="AllSessions">
<MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo> AllSessions { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1<class Android.Content.PM.PackageInstaller/SessionInfo> AllSessions" />
<MemberSignature Language="DocId" Value="P:Android.Content.PM.PackageInstaller.AllSessions" />
<MemberSignature Language="F#" Value="member this.AllSessions : System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo>" Usage="Android.Content.PM.PackageInstaller.AllSessions" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getAllSessions", "()Ljava/util/List;", "GetGetAllSessionsHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getAllSessions", "()Ljava/util/List;", "GetGetAllSessionsHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<Android.Content.PM.PackageInstaller+SessionInfo></ReturnType>
</ReturnValue>
<Docs>
<summary>Return list of all known install sessions, regardless of the installer.</summary>
<value>To be added.</value>
<remarks>
<para>Return list of all known install sessions, regardless of the installer. Callers need to
either declare &lt;queries&gt; element with the specific package name in the app's manifest,
have the android.permission.QUERY_ALL_PACKAGES, or be the session owner to retrieve these
details.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#getAllSessions()" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.getAllSessions()</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="CheckInstallConstraints">
<MemberSignature Language="C#" Value="public virtual void CheckInstallConstraints (System.Collections.Generic.IList<string> packageNames, Android.Content.PM.PackageInstaller.InstallConstraints constraints, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer callback);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CheckInstallConstraints(class System.Collections.Generic.IList`1<string> packageNames, class Android.Content.PM.PackageInstaller/InstallConstraints constraints, class Java.Util.Concurrent.IExecutor executor, class Java.Util.Functions.IConsumer callback) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.CheckInstallConstraints(System.Collections.Generic.IList{System.String},Android.Content.PM.PackageInstaller.InstallConstraints,Java.Util.Concurrent.IExecutor,Java.Util.Functions.IConsumer)" />
<MemberSignature Language="F#" Value="abstract member CheckInstallConstraints : System.Collections.Generic.IList<string> * Android.Content.PM.PackageInstaller.InstallConstraints * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.CheckInstallConstraints : System.Collections.Generic.IList<string> * Android.Content.PM.PackageInstaller.InstallConstraints * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit" Usage="packageInstaller.CheckInstallConstraints (packageNames, constraints, executor, callback)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkInstallConstraints", "(Ljava/util/List;Landroid/content/pm/PackageInstaller$InstallConstraints;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetCheckInstallConstraints_Ljava_util_List_Landroid_content_pm_PackageInstaller_InstallConstraints_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkInstallConstraints", "(Ljava/util/List;Landroid/content/pm/PackageInstaller$InstallConstraints;Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetCheckInstallConstraints_Ljava_util_List_Landroid_content_pm_PackageInstaller_InstallConstraints_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_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>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="packageNames" Type="System.Collections.Generic.IList<System.String>" />
<Parameter Name="constraints" Type="Android.Content.PM.PackageInstaller+InstallConstraints" />
<Parameter Name="executor" Type="Java.Util.Concurrent.IExecutor" />
<Parameter Name="callback" Type="Java.Util.Functions.IConsumer" />
</Parameters>
<Docs>
<param name="packageNames">To be added.</param>
<param name="constraints">To be added.</param>
<param name="executor">To be added.</param>
<param name="callback">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommitSessionAfterInstallConstraintsAreMet">
<MemberSignature Language="C#" Value="public virtual void CommitSessionAfterInstallConstraintsAreMet (int sessionId, Android.Content.IntentSender statusReceiver, Android.Content.PM.PackageInstaller.InstallConstraints constraints, long timeoutMillis);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CommitSessionAfterInstallConstraintsAreMet(int32 sessionId, class Android.Content.IntentSender statusReceiver, class Android.Content.PM.PackageInstaller/InstallConstraints constraints, int64 timeoutMillis) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.CommitSessionAfterInstallConstraintsAreMet(System.Int32,Android.Content.IntentSender,Android.Content.PM.PackageInstaller.InstallConstraints,System.Int64)" />
<MemberSignature Language="F#" Value="abstract member CommitSessionAfterInstallConstraintsAreMet : int * Android.Content.IntentSender * Android.Content.PM.PackageInstaller.InstallConstraints * int64 -> unit
override this.CommitSessionAfterInstallConstraintsAreMet : int * Android.Content.IntentSender * Android.Content.PM.PackageInstaller.InstallConstraints * int64 -> unit" Usage="packageInstaller.CommitSessionAfterInstallConstraintsAreMet (sessionId, statusReceiver, constraints, timeoutMillis)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("commitSessionAfterInstallConstraintsAreMet", "(ILandroid/content/IntentSender;Landroid/content/pm/PackageInstaller$InstallConstraints;J)V", "GetCommitSessionAfterInstallConstraintsAreMet_ILandroid_content_IntentSender_Landroid_content_pm_PackageInstaller_InstallConstraints_JHandler", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("commitSessionAfterInstallConstraintsAreMet", "(ILandroid/content/IntentSender;Landroid/content/pm/PackageInstaller$InstallConstraints;J)V", "GetCommitSessionAfterInstallConstraintsAreMet_ILandroid_content_IntentSender_Landroid_content_pm_PackageInstaller_InstallConstraints_JHandler", 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>
<Parameter Name="sessionId" Type="System.Int32" />
<Parameter Name="statusReceiver" Type="Android.Content.IntentSender" />
<Parameter Name="constraints" Type="Android.Content.PM.PackageInstaller+InstallConstraints" />
<Parameter Name="timeoutMillis" Type="System.Int64" />
</Parameters>
<Docs>
<param name="sessionId">To be added.</param>
<param name="statusReceiver">To be added.</param>
<param name="constraints">To be added.</param>
<param name="timeoutMillis">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateSession">
<MemberSignature Language="C#" Value="public virtual int CreateSession (Android.Content.PM.PackageInstaller.SessionParams params);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CreateSession(class Android.Content.PM.PackageInstaller/SessionParams params) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.CreateSession(Android.Content.PM.PackageInstaller.SessionParams)" />
<MemberSignature Language="F#" Value="abstract member CreateSession : Android.Content.PM.PackageInstaller.SessionParams -> int
override this.CreateSession : Android.Content.PM.PackageInstaller.SessionParams -> int" Usage="packageInstaller.CreateSession params" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createSession", "(Landroid/content/pm/PackageInstaller$SessionParams;)I", "GetCreateSession_Landroid_content_pm_PackageInstaller_SessionParams_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createSession", "(Landroid/content/pm/PackageInstaller$SessionParams;)I", "GetCreateSession_Landroid_content_pm_PackageInstaller_SessionParams_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="params" Type="Android.Content.PM.PackageInstaller+SessionParams" />
</Parameters>
<Docs>
<param name="params">To be added.</param>
<summary>Create a new session using the given parameters, returning a unique ID
that represents the session.</summary>
<returns>positive, non-zero unique ID that represents the created session.
This ID remains consistent across device reboots until the
session is finalized. IDs are not reused during a given boot.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#createSession(android.content.pm.SessionParams)" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.createSession(android.content.pm.SessionParams)</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>
<exception cref="T:Java.IO.IOException">if parameters were unsatisfiable, such as lack of
disk space or unavailable media.</exception>
<exception cref="T:Java.Lang.SecurityException">when installation services are unavailable,
such as when called from a restricted user.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">when <see cref="T:Android.Content.PM.PackageInstaller.SessionParams" /> is invalid.</exception>
</Docs>
</Member>
<Member MemberName="ExtraInstallConstraints">
<MemberSignature Language="C#" Value="public const string ExtraInstallConstraints;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraInstallConstraints" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraInstallConstraints" />
<MemberSignature Language="F#" Value="val mutable ExtraInstallConstraints : string" Usage="Android.Content.PM.PackageInstaller.ExtraInstallConstraints" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_INSTALL_CONSTRAINTS", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_INSTALL_CONSTRAINTS", 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The <c>InstallConstraints</c> object.</summary>
<remarks>
<para>The <c>InstallConstraints</c> object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_INSTALL_CONSTRAINTS" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_INSTALL_CONSTRAINTS</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="ExtraInstallConstraintsResult">
<MemberSignature Language="C#" Value="public const string ExtraInstallConstraintsResult;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraInstallConstraintsResult" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraInstallConstraintsResult" />
<MemberSignature Language="F#" Value="val mutable ExtraInstallConstraintsResult : string" Usage="Android.Content.PM.PackageInstaller.ExtraInstallConstraintsResult" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_INSTALL_CONSTRAINTS_RESULT", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_INSTALL_CONSTRAINTS_RESULT", 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The <c>InstallConstraintsResult</c> object.</summary>
<remarks>
<para>The <c>InstallConstraintsResult</c> object.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_INSTALL_CONSTRAINTS_RESULT" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_INSTALL_CONSTRAINTS_RESULT</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="ExtraOtherPackageName">
<MemberSignature Language="C#" Value="public const string ExtraOtherPackageName;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraOtherPackageName" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraOtherPackageName" />
<MemberSignature Language="F#" Value="val mutable ExtraOtherPackageName : string" Usage="Android.Content.PM.PackageInstaller.ExtraOtherPackageName" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_OTHER_PACKAGE_NAME")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_OTHER_PACKAGE_NAME")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Another package name relevant to a status.</summary>
<remarks>
<para>Another package name relevant to a status. This is typically the package
responsible for causing an operation failure.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_OTHER_PACKAGE_NAME" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_OTHER_PACKAGE_NAME</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<altmember cref="M:Android.Content.Intent.GetStringExtra(System.String)" />
</Docs>
</Member>
<Member MemberName="ExtraPackageName">
<MemberSignature Language="C#" Value="public const string ExtraPackageName;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraPackageName" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraPackageName" />
<MemberSignature Language="F#" Value="val mutable ExtraPackageName : string" Usage="Android.Content.PM.PackageInstaller.ExtraPackageName" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_PACKAGE_NAME")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_PACKAGE_NAME")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Package name that an operation is working with.</summary>
<remarks>
<para>Package name that an operation is working with.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_PACKAGE_NAME" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_PACKAGE_NAME</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<altmember cref="M:Android.Content.Intent.GetStringExtra(System.String)" />
</Docs>
</Member>
<Member MemberName="ExtraPreApproval">
<MemberSignature Language="C#" Value="public const string ExtraPreApproval;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraPreApproval" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraPreApproval" />
<MemberSignature Language="F#" Value="val mutable ExtraPreApproval : string" Usage="Android.Content.PM.PackageInstaller.ExtraPreApproval" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_PRE_APPROVAL", ApiSince=34)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_PRE_APPROVAL", 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Indicate if the status is for a pre-approval request.</summary>
<remarks>
<para>Indicate if the status is for a pre-approval request.
If callers use the same <c>IntentSender</c> for both
<c>Session#requestUserPreapproval(PreapprovalDetails, IntentSender)</c> and
<c>Session#commit(IntentSender)</c>, they can use this to differentiate between them.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_PRE_APPROVAL" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_PRE_APPROVAL</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="ExtraSession">
<MemberSignature Language="C#" Value="public const string ExtraSession;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraSession" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraSession" />
<MemberSignature Language="F#" Value="val mutable ExtraSession : string" Usage="Android.Content.PM.PackageInstaller.ExtraSession" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_SESSION", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_SESSION", 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
<c>SessionInfo</c> that an operation is working with.</summary>
<remarks>
<para>
<c>SessionInfo</c> that an operation is working with.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_SESSION" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_SESSION</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="ExtraSessionId">
<MemberSignature Language="C#" Value="public const string ExtraSessionId;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraSessionId" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraSessionId" />
<MemberSignature Language="F#" Value="val mutable ExtraSessionId : string" Usage="Android.Content.PM.PackageInstaller.ExtraSessionId" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_SESSION_ID")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_SESSION_ID")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>An integer session ID that an operation is working with.</summary>
<remarks>
<para>An integer session ID that an operation is working with.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_SESSION_ID" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_SESSION_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>
<altmember cref="M:Android.Content.Intent.GetIntExtra(System.String, System.Int32)" />
</Docs>
</Member>
<Member MemberName="ExtraStatus">
<MemberSignature Language="C#" Value="public const string ExtraStatus;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraStatus" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraStatus" />
<MemberSignature Language="F#" Value="val mutable ExtraStatus : string" Usage="Android.Content.PM.PackageInstaller.ExtraStatus" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_STATUS")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_STATUS")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Current status of an operation.</summary>
<remarks>
<para>Current status of an operation. Will be one of
<c>#STATUS_PENDING_USER_ACTION</c>, <c>#STATUS_SUCCESS</c>,
<c>#STATUS_FAILURE</c>, <c>#STATUS_FAILURE_ABORTED</c>,
<c>#STATUS_FAILURE_BLOCKED</c>, <c>#STATUS_FAILURE_CONFLICT</c>,
<c>#STATUS_FAILURE_INCOMPATIBLE</c>, <c>#STATUS_FAILURE_INVALID</c>,
<c>#STATUS_FAILURE_STORAGE</c>, or <c>#STATUS_FAILURE_TIMEOUT</c>.</para>
<para>More information about a status may be available through additional
extras; see the individual status documentation for details.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_STATUS" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_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>
<altmember cref="M:Android.Content.Intent.GetIntExtra(System.String, System.Int32)" />
</Docs>
</Member>
<Member MemberName="ExtraStatusMessage">
<MemberSignature Language="C#" Value="public const string ExtraStatusMessage;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraStatusMessage" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraStatusMessage" />
<MemberSignature Language="F#" Value="val mutable ExtraStatusMessage : string" Usage="Android.Content.PM.PackageInstaller.ExtraStatusMessage" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_STATUS_MESSAGE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_STATUS_MESSAGE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Detailed string representation of the status, including raw details that
are useful for debugging.</summary>
<remarks>
<para>Detailed string representation of the status, including raw details that
are useful for debugging.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_STATUS_MESSAGE" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_STATUS_MESSAGE</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<altmember cref="M:Android.Content.Intent.GetStringExtra(System.String)" />
</Docs>
</Member>
<Member MemberName="ExtraStoragePath">
<MemberSignature Language="C#" Value="public const string ExtraStoragePath;" />
<MemberSignature Language="ILAsm" Value=".field public static literal string ExtraStoragePath" />
<MemberSignature Language="DocId" Value="F:Android.Content.PM.PackageInstaller.ExtraStoragePath" />
<MemberSignature Language="F#" Value="val mutable ExtraStoragePath : string" Usage="Android.Content.PM.PackageInstaller.ExtraStoragePath" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("EXTRA_STORAGE_PATH")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("EXTRA_STORAGE_PATH")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Storage path relevant to a status.</summary>
<remarks>
<para>Storage path relevant to a status.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#EXTRA_STORAGE_PATH" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.EXTRA_STORAGE_PATH</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<altmember cref="M:Android.Content.Intent.GetStringExtra(System.String)" />
</Docs>
</Member>
<Member MemberName="GetSessionInfo">
<MemberSignature Language="C#" Value="public virtual Android.Content.PM.PackageInstaller.SessionInfo? GetSessionInfo (int sessionId);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Android.Content.PM.PackageInstaller/SessionInfo GetSessionInfo(int32 sessionId) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.GetSessionInfo(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member GetSessionInfo : int -> Android.Content.PM.PackageInstaller.SessionInfo
override this.GetSessionInfo : int -> Android.Content.PM.PackageInstaller.SessionInfo" Usage="packageInstaller.GetSessionInfo sessionId" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getSessionInfo", "(I)Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetSessionInfo_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getSessionInfo", "(I)Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetSessionInfo_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Android.Content.PM.PackageInstaller+SessionInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="sessionId" Type="System.Int32" />
</Parameters>
<Docs>
<param name="sessionId">To be added.</param>
<summary>Return details for a specific session.</summary>
<returns>details for the requested session, or <c>null</c> if the session
does not exist.</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/content/pm/PackageInstaller#getSessionInfo(int)" title="Reference documentation">Java documentation for <code>android.content.pm.PackageInstaller.getSessionInfo(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="InstallExistingPackage">
<MemberSignature Language="C#" Value="public virtual void InstallExistingPackage (string packageName, Android.Content.PM.InstallReason installReason, Android.Content.IntentSender? statusReceiver);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void InstallExistingPackage(string packageName, valuetype Android.Content.PM.InstallReason installReason, class Android.Content.IntentSender statusReceiver) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Content.PM.PackageInstaller.InstallExistingPackage(System.String,Android.Content.PM.InstallReason,Android.Content.IntentSender)" />
<MemberSignature Language="F#" Value="abstract member InstallExistingPackage : string * Android.Content.PM.InstallReason * Android.Content.IntentSender -> unit
override this.InstallExistingPackage : string * Android.Content.PM.InstallReason * Android.Content.IntentSender -> unit" Usage="packageInstaller.InstallExistingPackage (packageName, installReason, statusReceiver)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("installExistingPackage", "(Ljava/lang/String;ILandroid/content/IntentSender;)V", "GetInstallExistingPackage_Ljava_lang_String_ILandroid_content_IntentSender_Handler", ApiSince=29)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("installExistingPackage", "(Ljava/lang/String;ILandroid/content/IntentSender;)V", "GetInstallExistingPackage_Ljava_lang_String_ILandroid_content_IntentSender_Handler", ApiSince=29)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android29.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android29.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="packageName" Type="System.String" />
<Parameter Name="installReason" Type="Android.Content.PM.InstallReason">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="statusReceiver" Type="Android.Content.IntentSender" />
</Parameters>
<Docs>
<param name="packageName">The package to install.</param>
<param name="installReason">Reason for install.</param>
<param name="statusReceiver">Where to deliver the result of the operation indicated by the extra
<c>#EXTRA_STATUS</c>. Refer to the individual status codes
on how to handle them.</param>
<summary>Install the given package, which already exists on the device, for the user for which this
installer was created.</summary>
<remarks>
<para>Install the given package, which already exists on the device, for the user for which this
installer was created.</para>
<para>This will
<c>PackageInstaller.SessionParams#setWhitelistedRestrictedPermissions(Set) allowlist