Compartir a través de


PackageInstaller.GetSessionInfo(Int32) Method

Definition

Return details for a specific session.

[Android.Runtime.Register("getSessionInfo", "(I)Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetSessionInfo_IHandler")]
public virtual Android.Content.PM.PackageInstaller.SessionInfo? GetSessionInfo (int sessionId);
[<Android.Runtime.Register("getSessionInfo", "(I)Landroid/content/pm/PackageInstaller$SessionInfo;", "GetGetSessionInfo_IHandler")>]
abstract member GetSessionInfo : int -> Android.Content.PM.PackageInstaller.SessionInfo
override this.GetSessionInfo : int -> Android.Content.PM.PackageInstaller.SessionInfo

Parameters

sessionId
Int32

Returns

details for the requested session, or null if the session does not exist.

Attributes

Remarks

Java documentation for android.content.pm.PackageInstaller.getSessionInfo(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