Share via


DevicePolicyManager.InstallkeySetUserSelectable 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 a user can select the key via the Certificate Selection prompt.

[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

Field Value

Value = 2
Attributes

Remarks

Specifies that a user can select the key via the Certificate Selection prompt. If this flag is not set when calling #installKeyPair, the key can only be granted access by implementing android.app.admin.DeviceAdminReceiver#onChoosePrivateKeyAlias. For use with #installKeyPair(ComponentName, PrivateKey, Certificate[], String, int)

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

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