/**@class android.hardware.usb.UsbEndpoint implements android.os.Parcelable @extends java.lang.Object A class representing an endpoint on a {@link android.hardware.usb.UsbInterface}. Endpoints are the channels for sending and receiving data over USB. Typically bulk endpoints are used for sending non-trivial amounts of data. Interrupt endpoints are used for sending small amounts of data, typically events, separately from the main data streams. The endpoint zero is a special endpoint for control messages sent from the host to device. Isochronous endpoints are currently unsupported. */ var UsbEndpoint = { /***/ CREATOR : "null", /**Returns the endpoint's address field. The address is a bitfield containing both the endpoint number as well as the data direction of the endpoint. the endpoint number and direction can also be accessed via {@link #getEndpointNumber} and {@link #getDirection}. @return {Number} the endpoint's address */ getAddress : function( ) {}, /**Extracts the endpoint's endpoint number from its address @return {Number} the endpoint's endpoint number */ getEndpointNumber : function( ) {}, /**Returns the endpoint's direction. Returns {@link android.hardware.usb.UsbConstants#USB_DIR_OUT} if the direction is host to device, and {@link android.hardware.usb.UsbConstants#USB_DIR_IN} if the direction is device to host. @see UsbConstants#USB_DIR_IN @see UsbConstants#USB_DIR_OUT @return {Number} the endpoint's direction */ getDirection : function( ) {}, /**Returns the endpoint's attributes field. @return {Number} the endpoint's attributes */ getAttributes : function( ) {}, /**Returns the endpoint's type. Possible results are: <ul> <li>{@link android.hardware.usb.UsbConstants#USB_ENDPOINT_XFER_CONTROL} (endpoint zero) <li>{@link android.hardware.usb.UsbConstants#USB_ENDPOINT_XFER_ISOC} (isochronous endpoint) <li>{@link android.hardware.usb.UsbConstants#USB_ENDPOINT_XFER_BULK} (bulk endpoint) <li>{@link android.hardware.usb.UsbConstants#USB_ENDPOINT_XFER_INT} (interrupt endpoint) </ul> @return {Number} the endpoint's type */ getType : function( ) {}, /**Returns the endpoint's maximum packet size. @return {Number} the endpoint's maximum packet size */ getMaxPacketSize : function( ) {}, /**Returns the endpoint's interval field. @return {Number} the endpoint's interval */ getInterval : function( ) {}, /** */ toString : function( ) {}, /** */ describeContents : function( ) {}, /** */ writeToParcel : function( ) {}, };