PackageInstaller.OpenSession(Int32) Method
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.
Open an existing session to actively perform work.
[Android.Runtime.Register("openSession", "(I)Landroid/content/pm/PackageInstaller$Session;", "GetOpenSession_IHandler")]
public virtual Android.Content.PM.PackageInstaller.Session OpenSession (int sessionId);
[<Android.Runtime.Register("openSession", "(I)Landroid/content/pm/PackageInstaller$Session;", "GetOpenSession_IHandler")>]
abstract member OpenSession : int -> Android.Content.PM.PackageInstaller.Session
override this.OpenSession : int -> Android.Content.PM.PackageInstaller.Session
- sessionId
- Int32
- Attributes
if parameters were unsatisfiable, such as lack of disk space or unavailable media.
when the caller does not own the session, or the session is invalid.
Java documentation for android.content.pm.PackageInstaller.openSession(int)
.
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.
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |