Class UsbEndpoint

Definition

Namespace:
Tizen.System.Usb
Assembly:
Tizen.System.Usb.dll
API Level:
4

The USB Endpoint class.

C#
Copy
public class UsbEndpoint
Inheritance
UsbEndpoint
Derived

Fields

View Source

_parent

Declaration
C#
Copy
protected readonly UsbInterface _parent
Field Value
Type Description
UsbInterface
API Level: 4

Properties

View Source

Direction

Gets the direction of this endpoint.

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

Id

Gets the number of this endpoint.

Declaration
C#
Copy
public int Id { get; }
Property Value
Type Description
System.Int32
API Level: 4
View Source

MaxPacketSize

Gets the maximum packet size of a given endpoint.

Declaration
C#
Copy
public int MaxPacketSize { get; }
Property Value
Type Description
System.Int32
API Level: 4

Methods

View Source

TransferImpl(Byte[], Int32, UInt32)

Declaration
C#
Copy
protected int TransferImpl(byte[] buffer, int length, uint timeout)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 length
System.UInt32 timeout
Returns
Type Description
System.Int32
API Level: 4