PackageInstaller.SessionParams.SetMultiPackage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set this session to be the parent of a multi-package install.
[Android.Runtime.Register("setMultiPackage", "()V", "GetSetMultiPackageHandler", ApiSince=29)]
public virtual void SetMultiPackage ();
[<Android.Runtime.Register("setMultiPackage", "()V", "GetSetMultiPackageHandler", ApiSince=29)>]
abstract member SetMultiPackage : unit -> unit
override this.SetMultiPackage : unit -> unit
- Attributes
Remarks
Set this session to be the parent of a multi-package install.
A multi-package install session contains no APKs and only references other install sessions via ID. When a multi-package session is committed, all of its children are committed to the system in an atomic manner. If any children fail to install, all of them do, including the multi-package session.
Java documentation for android.content.pm.PackageInstaller.SessionParams.setMultiPackage()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.