Sdílet prostřednictvím


PackageInstaller.SessionInfo.ParentSessionId Property

Definition

Returns the parent multi-package session ID if this session belongs to one, #INVALID_ID otherwise.

public virtual int ParentSessionId { [Android.Runtime.Register("getParentSessionId", "()I", "GetGetParentSessionIdHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getParentSessionId", "()I", "GetGetParentSessionIdHandler", ApiSince=29)>]
member this.ParentSessionId : int

Property Value

Attributes

Remarks

Returns the parent multi-package session ID if this session belongs to one, #INVALID_ID otherwise.

Java documentation for android.content.pm.PackageInstaller.SessionInfo.getParentSessionId().

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