Language

PackageInstaller.SessionInfo.HasParentSessionId Property

Definition

Returns true if session has a valid parent session, otherwise false.

public virtual bool HasParentSessionId { [Android.Runtime.Register("hasParentSessionId", "()Z", "GetHasParentSessionIdHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("hasParentSessionId", "()Z", "GetHasParentSessionIdHandler", ApiSince=30)>]
member this.HasParentSessionId : bool

Property Value

true if the recorded parent ID differs from the minus-one invalid-ID sentinel; otherwise, false.

Attributes

Remarks

Returns true if session has a valid parent session, otherwise false.

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

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