Sdílet prostřednictvím


UsbEndpoint.Type Property

Definition

Returns the endpoint's type.

public virtual Android.Hardware.Usb.UsbAddressing Type { [Android.Runtime.Register("getType", "()I", "GetGetTypeHandler")] get; }
[<get: Android.Runtime.Register("getType", "()I", "GetGetTypeHandler")>]
member this.Type : Android.Hardware.Usb.UsbAddressing

Property Value

the endpoint's type

Attributes

Remarks

Returns the endpoint's type. Possible results are: <ul> <li>UsbConstants#USB_ENDPOINT_XFER_CONTROL (endpoint zero) <li>UsbConstants#USB_ENDPOINT_XFER_ISOC (isochronous endpoint) <li>UsbConstants#USB_ENDPOINT_XFER_BULK (bulk endpoint) <li>UsbConstants#USB_ENDPOINT_XFER_INT (interrupt endpoint) </ul>

Java documentation for android.hardware.usb.UsbEndpoint.getType().

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