Udostępnij za pośrednictwem


UsbConfiguration.GetInterface(Int32) Method

Definition

Returns the UsbInterface at the given index.

[Android.Runtime.Register("getInterface", "(I)Landroid/hardware/usb/UsbInterface;", "GetGetInterface_IHandler")]
public virtual Android.Hardware.Usb.UsbInterface GetInterface (int index);
[<Android.Runtime.Register("getInterface", "(I)Landroid/hardware/usb/UsbInterface;", "GetGetInterface_IHandler")>]
abstract member GetInterface : int -> Android.Hardware.Usb.UsbInterface
override this.GetInterface : int -> Android.Hardware.Usb.UsbInterface

Parameters

index
Int32

Returns

the interface

Attributes

Remarks

Returns the UsbInterface at the given index.

Java documentation for android.hardware.usb.UsbConfiguration.getInterface(int).

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