Language

SerialPort.Name Property

Definition

Get the device name.

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

Property Value

Attributes

Remarks

Get the device name. It is the dev node name under /dev, e.g. ttyUSB0, ttyACM1.

Android reference for android.hardware.serial.SerialPort.getName.

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