Compartir a través de


UsbInterface.GetEndpoint(Int32) Method

Definition

Returns the android.hardware.usb.UsbEndpoint at the given index.

[Android.Runtime.Register("getEndpoint", "(I)Landroid/hardware/usb/UsbEndpoint;", "GetGetEndpoint_IHandler")]
public virtual Android.Hardware.Usb.UsbEndpoint? GetEndpoint (int index);
[<Android.Runtime.Register("getEndpoint", "(I)Landroid/hardware/usb/UsbEndpoint;", "GetGetEndpoint_IHandler")>]
abstract member GetEndpoint : int -> Android.Hardware.Usb.UsbEndpoint
override this.GetEndpoint : int -> Android.Hardware.Usb.UsbEndpoint

Parameters

index
Int32

Returns

the endpoint

Attributes

Remarks

Returns the android.hardware.usb.UsbEndpoint at the given index.

Java documentation for android.hardware.usb.UsbInterface.getEndpoint(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