Android Guides | Samples

Android.Hardware.Usb.UsbAddressing Enumeration

Enumerates values returned by several types and taken as a parameter of several methods of UsbDeviceConnection.

Syntax

public enum UsbAddressing

Remarks

Members

Member NameDescription
DirMaskBitmask used for extracting the UsbEndpoint direction from its address field.
InUsed to signify direction of data for a UsbEndpoint is IN (device to host)
NumberMaskBitmask used for extracting the UsbEndpoint number its address field.
OutUsed to signify direction of data for a UsbEndpoint is OUT (host to device)
XferBulkBulk endpoint type
XferControlControl endpoint type (endpoint zero)
XferInterruptInterrupt endpoint type
XferIsochronousIsochronous endpoint type (currently not supported)
XferTypeMaskBitmask used for extracting the UsbEndpoint type from its address field.

Requirements

Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Hardware.Usb.UsbAddressing are listed below.

See Also: Inherited members from System.Enum

Public Fields

DirMaskUsbAddressing. Bitmask used for extracting the UsbEndpoint direction from its address field.
InUsbAddressing. Used to signify direction of data for a UsbEndpoint is IN (device to host)
NumberMaskUsbAddressing. Bitmask used for extracting the UsbEndpoint number its address field.
OutUsbAddressing. Used to signify direction of data for a UsbEndpoint is OUT (host to device)
XferBulkUsbAddressing. Bulk endpoint type
XferControlUsbAddressing. Control endpoint type (endpoint zero)
XferInterruptUsbAddressing. Interrupt endpoint type
XferIsochronousUsbAddressing. Isochronous endpoint type (currently not supported)
XferTypeMaskUsbAddressing. Bitmask used for extracting the UsbEndpoint type from its address field.