Sdílet prostřednictvím


PackageInstaller.SessionInfo.RequireUserAction Property

Definition

Whether user action was required by the installer.

public virtual int RequireUserAction { [Android.Runtime.Register("getRequireUserAction", "()I", "GetGetRequireUserActionHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getRequireUserAction", "()I", "GetGetRequireUserActionHandler", ApiSince=31)>]
member this.RequireUserAction : int

Property Value

SessionParams#USER_ACTION_NOT_REQUIRED, SessionParams#USER_ACTION_REQUIRED or SessionParams#USER_ACTION_UNSPECIFIED

Attributes

Remarks

Whether user action was required by the installer.

Note: a return value of USER_ACTION_NOT_REQUIRED does not guarantee that the install will not result in user action.

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

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