语言

DevicePolicyManager.InstallkeyRequestCredentialsAccess 字段

定义

注意

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

指定应立即向调用应用授予对已安装凭据的访问权限。

[Android.Runtime.Register("INSTALLKEY_REQUEST_CREDENTIALS_ACCESS", 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 InstallkeyRequestCredentialsAccess = 1;
[<Android.Runtime.Register("INSTALLKEY_REQUEST_CREDENTIALS_ACCESS", 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 InstallkeyRequestCredentialsAccess : Android.App.Admin.InstallKeyFlags

字段值

Value = 1
特性

注解

指定应立即向调用应用授予对已安装凭据的访问权限。 否则,用户批准将限制对凭据的访问。 用于 #installKeyPair(ComponentName, PrivateKey, Certificate[], String, int)

Java文档android.app.admin.DevicePolicyManager.INSTALLKEY_REQUEST_CREDENTIALS_ACCESS。

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

适用于