- params
- Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if parameters were unsatisfiable, such as lack of disk space or unavailable media. Java.Lang.SecurityException when installation services are unavailable, such as when called from a restricted user. Java.Lang.IllegalArgumentException when NoType:android/content/pm/PackageInstaller$SessionParams;Href=../../../../reference/android/content/pm/PackageInstaller.SessionParams.html is invalid.
Create a new session using the given parameters, returning a unique ID that represents the session. Once created, the session can be opened multiple times across multiple device boots.
The system may automatically destroy sessions that have not been finalized (either committed or abandoned) within a reasonable period of time, typically on the order of a day.