Compartir a través de


UsbInterface.Id Property

Definition

Returns the interface's bInterfaceNumber field.

public virtual int Id { [Android.Runtime.Register("getId", "()I", "GetGetIdHandler")] get; }
[<get: Android.Runtime.Register("getId", "()I", "GetGetIdHandler")>]
member this.Id : int

Property Value

the interface's ID

Attributes

Remarks

Returns the interface's bInterfaceNumber field. This is an integer that along with the alternate setting uniquely identifies the interface on the device.

Java documentation for android.hardware.usb.UsbInterface.getId().

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