共用方式為


DevicePolicyManager.IdTypeSerial Field

Definition

Caution

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

Specifies that the device should attest its serial number.

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

Field Value

Value = 2
Attributes

Remarks

Specifies that the device should attest its serial number. For use with #generateKeyPair.

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

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