Dil

UsbAddressing Enum

Definition

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

public enum UsbAddressing
type UsbAddressing = 
Inheritance
UsbAddressing

Fields

Name Value Description
Out 0

Used to signify direction of data for a UsbEndpoint is OUT (host to device)

Android reference for android.hardware.usb.UsbConstants.USB_DIR_OUT.

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.

XferControl 0

Control endpoint type (endpoint zero)

Android reference for android.hardware.usb.UsbConstants.USB_ENDPOINT_XFER_CONTROL.

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.

XferIsochronous 1

Isochronous endpoint type (currently not supported)

Android reference for android.hardware.usb.UsbConstants.USB_ENDPOINT_XFER_ISOC.

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.

XferBulk 2

Bulk endpoint type

Android reference for android.hardware.usb.UsbConstants.USB_ENDPOINT_XFER_BULK.

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.

XferInterrupt 3

Interrupt endpoint type

Android reference for android.hardware.usb.UsbConstants.USB_ENDPOINT_XFER_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.

XferTypeMask 3

Bitmask used for extracting the UsbEndpointtype from its address field.

NumberMask 15

Bitmask used for extracting the UsbEndpointnumber its address field.

DirMask 128

Bitmask used for extracting the UsbEndpointdirection from its address field.

In 128

Used to signify direction of data for a UsbEndpoint is IN (device to host)

Android reference for android.hardware.usb.UsbConstants.USB_DIR_IN.

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.

Remarks

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