Lue englanniksi

Jaa


PackageInstaller.OpenSession(Int32) Method

Definition

Open an existing session to actively perform work.

C#
[Android.Runtime.Register("openSession", "(I)Landroid/content/pm/PackageInstaller$Session;", "GetOpenSession_IHandler")]
public virtual Android.Content.PM.PackageInstaller.Session OpenSession (int sessionId);

Parameters

sessionId
Int32

Returns

Attributes

Exceptions

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.

Remarks

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.

Applies to

Tuote Versiot
.NET for Android .NET for Android API 34, .NET for Android API 35