Taal

HidDevice.UniqueId Property

Definition

A unique identifier for this device instance.

public string UniqueId { [Android.Runtime.Register("getUniqueId", "()Ljava/lang/String;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getUniqueId", "()Ljava/lang/String;", "", ApiSince=37)>]
member this.UniqueId : string

Property Value

Attributes

Remarks

A unique identifier for this device instance.

This value is typically the device's serial number if available, or a system-generated unique ID. This ID is unique among all currently connected HID devices.

Android reference for android.hardware.hid.HidDevice.getUniqueId.

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