共用方式為


DevicePolicyManager.InstallkeyRequestCredentialsAccess Field

Definition

Caution

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

Specifies that the calling app should be granted access to the installed credentials immediately.

[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

Field Value

Value = 1
Attributes

Remarks

Specifies that the calling app should be granted access to the installed credentials immediately. Otherwise, access to the credentials will be gated by user approval. For use with #installKeyPair(ComponentName, PrivateKey, Certificate[], String, int)

Java documentation for android.app.admin.DevicePolicyManager.INSTALLKEY_REQUEST_CREDENTIALS_ACCESS.

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