Udostępnij za pośrednictwem


PackageInstaller.SessionParams.UserActionRequired Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.PackageInstallUserAction enum directly instead of this field.

This value is passed by the installer to SessionParams#setRequireUserAction(int) to indicate that user action is required for this install.

[Android.Runtime.Register("USER_ACTION_REQUIRED", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallUserAction enum directly instead of this field.", true)]
public const Android.Content.PM.PackageInstallUserAction UserActionRequired = 1;
[<Android.Runtime.Register("USER_ACTION_REQUIRED", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.PackageInstallUserAction enum directly instead of this field.", true)>]
val mutable UserActionRequired : Android.Content.PM.PackageInstallUserAction

Field Value

Value = 1

Implements

Attributes

Remarks

This value is passed by the installer to SessionParams#setRequireUserAction(int) to indicate that user action is required for this install.

Java documentation for android.content.pm.PackageInstaller.SessionParams.USER_ACTION_REQUIRED.

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