Udostępnij za pośrednictwem


PackageInstaller.SessionParams.UserActionNotRequired 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 not required for this install.

[Android.Runtime.Register("USER_ACTION_NOT_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 UserActionNotRequired = 2;
[<Android.Runtime.Register("USER_ACTION_NOT_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 UserActionNotRequired : Android.Content.PM.PackageInstallUserAction

Field Value

Value = 2

Implements

Attributes

Remarks

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

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