DevicePolicyManager.InstallkeySetUserSelectable 字段

定义

注意

This constant will be removed in the future version. Use Android.App.Admin.InstallKeyFlags enum directly instead of this field.

指定用户可以通过证书选择提示选择密钥。

[Android.Runtime.Register("INSTALLKEY_SET_USER_SELECTABLE", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.InstallKeyFlags enum directly instead of this field.", true)]
public const Android.App.Admin.InstallKeyFlags InstallkeySetUserSelectable = 2;
[<Android.Runtime.Register("INSTALLKEY_SET_USER_SELECTABLE", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.InstallKeyFlags enum directly instead of this field.", true)>]
val mutable InstallkeySetUserSelectable : Android.App.Admin.InstallKeyFlags

字段值

Value = 2
属性

注解

指定用户可以通过证书选择提示选择密钥。 如果在调用 #installKeyPair时未设置此标志,则只能通过实现 android.app.admin.DeviceAdminReceiver#onChoosePrivateKeyAlias密钥授予访问权限。 用于 #installKeyPair(ComponentName, PrivateKey, Certificate[], String, int)

Java文档android.app.admin.DevicePolicyManager.INSTALLKEY_SET_USER_SELECTABLE

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

适用于