UsbDevice.DeviceName Property

Definition

Returns the name of the device.

public virtual string DeviceName { [Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "GetGetDeviceNameHandler")] get; }
[<get: Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "GetGetDeviceNameHandler")>]
member this.DeviceName : string

Property Value

the device name

Attributes

Remarks

Returns the name of the device. In the standard implementation, this is the path of the device file for the device in the usbfs file system.

Java documentation for android.hardware.usb.UsbDevice.getDeviceName().

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