UsbDevice.GetDeviceName(Int32) Method

Definition

Returns the name of the device.

[Android.Runtime.Register("getDeviceName", "(I)Ljava/lang/String;", "")]
public static string? GetDeviceName (int id);
[<Android.Runtime.Register("getDeviceName", "(I)Ljava/lang/String;", "")>]
static member GetDeviceName : int -> string

Parameters

id
Int32

Returns

the device name

Attributes

Remarks

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