Udostępnij za pośrednictwem


UsbAccessory.Serial Property

Definition

Returns the unique serial number for the accessory.

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 unique serial number, or null if not set

Attributes

Remarks

Returns the unique serial number for the accessory. This is an optional serial number that can be used to differentiate between individual accessories of the same model and manufacturer

Java documentation for android.hardware.usb.UsbAccessory.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