Condividi tramite


UsbDeviceConnection.Serial Property

Definition

Returns the serial number for the device.

public virtual string? Serial { [Android.Runtime.Register("getSerial", "()Ljava/lang/String;", "GetGetSerialHandler")] get; }
[<get: Android.Runtime.Register("getSerial", "()Ljava/lang/String;", "GetGetSerialHandler")>]
member this.Serial : string

Property Value

the device serial number

Attributes

Remarks

Returns the serial number for the device. This will return null if the device has not been opened.

Java documentation for android.hardware.usb.UsbDeviceConnection.getSerial().

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