共用方式為


PackageInstaller.SessionParams.UserActionUnspecified 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 unspecified for this install.

[Android.Runtime.Register("USER_ACTION_UNSPECIFIED", 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 UserActionUnspecified = 0;
[<Android.Runtime.Register("USER_ACTION_UNSPECIFIED", 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 UserActionUnspecified : Android.Content.PM.PackageInstallUserAction

Field Value

Value = 0

Implements

Attributes

Remarks

This value is passed by the installer to SessionParams#setRequireUserAction(int) to indicate that user action is unspecified for this install. requireUserAction also defaults to this value unless modified by SessionParams#setRequireUserAction(int)

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

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