GUsb.Endpoint

g GObject.Object GObject.Object GUsb.Endpoint GUsb.Endpoint GObject.Object->GUsb.Endpoint

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_address ()

get_direction ()

get_extra ()

get_kind ()

get_maximum_packet_size ()

get_number ()

get_polling_interval ()

get_refresh ()

get_synch_address ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GUsb.Endpoint(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUsb.EndpointClass

get_address()
Returns:

The 4-bit endpoint address

Return type:

int

Gets the address of the endpoint.

New in version 0.3.3.

get_direction()
Returns:

The endpoint direction

Return type:

GUsb.DeviceDirection

Gets the direction of the endpoint.

New in version 0.3.3.

get_extra()
Returns:

a GLib.Bytes, or None for failure

Return type:

GLib.Bytes

Gets any extra data from the endpoint.

New in version 0.3.3.

get_kind()
Returns:

The 8-bit type

Return type:

int

Gets the type of endpoint.

New in version 0.3.3.

get_maximum_packet_size()
Returns:

The maximum packet size

Return type:

int

Gets the maximum packet size this endpoint is capable of sending/receiving.

New in version 0.3.3.

get_number()
Returns:

The lower 4-bit of endpoint address

Return type:

int

Gets the number part of endpoint address.

New in version 0.3.3.

get_polling_interval()
Returns:

The endpoint polling interval

Return type:

int

Gets the endpoint polling interval.

New in version 0.3.3.

get_refresh()
Returns:

The endpoint refresh

Return type:

int

Gets the rate at which synchronization feedback is provided, for audio device only.

New in version 0.3.3.

get_synch_address()
Returns:

The synch endpoint address

Return type:

int

Gets the address if the synch endpoint, for audio device only.

New in version 0.3.3.