语言

PackageInstaller.SessionParams.UserActionUnspecified 字段

定义

注意

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

安装程序将传递此值以 SessionParams#setRequireUserAction(int) 指示未指定此安装的用户操作。

[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

字段值

Value = 0

实现

特性

注解

安装程序将传递此值以 SessionParams#setRequireUserAction(int) 指示未指定此安装的用户操作。 requireUserAction 也默认为此值,除非修改者 SessionParams#setRequireUserAction(int)

Java文档android.content.pm.PackageInstaller.SessionParams.USER_ACTION_UNSPECIFIED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于