Class UsbEndpoint

Definition

Namespace:
Tizen.System.Usb
Assembly:
Tizen.System.Usb.dll

The USB Endpoint class.

C#
Copy
public class UsbEndpoint
Inheritance
object
UsbEndpoint
Derived

Fields

View Source

_parent

Declaration
C#
Copy
protected readonly UsbInterface _parent
Field Value
Type Description
UsbInterface

Properties

View Source

Direction

Gets the direction of this endpoint.

Declaration
C#
Copy
public EndpointDirection Direction { get; }
Property Value
Type Description
EndpointDirection
View Source

Id

Gets the number of this endpoint.

Declaration
C#
Copy
public int Id { get; }
Property Value
Type Description
int
View Source

MaxPacketSize

Gets the maximum packet size of a given endpoint.

Declaration
C#
Copy
public int MaxPacketSize { get; }
Property Value
Type Description
int

Methods

View Source

TransferImpl(byte[], int, uint)

Declaration
C#
Copy
protected int TransferImpl(byte[] buffer, int length, uint timeout)
Parameters
Type Name Description
byte[] buffer
int length
uint timeout
Returns
Type Description
int