Enums

Details

class GUsb.ContextError(value)

Bases: GLib.Enum

CONTEXT_ERROR_INTERNAL = 0
class GUsb.DeviceClassCode(value)

Bases: GLib.Enum

The USB device class.

INTERFACE_DESC = 0
AUDIO = 1
CDC_DATA = 10
SMART_CARD = 11
CONTENT_SECURITY = 13
VIDEO = 14
PERSONAL_HEALTHCARE = 15
AUDIO_VIDEO = 16
BILLBOARD = 17
COMMUNICATIONS = 2
DIAGNOSTIC = 220
WIRELESS_CONTROLLER = 224
MISCELLANEOUS = 239
APPLICATION_SPECIFIC = 254
VENDOR_SPECIFIC = 255
HID = 3
PHYSICAL = 5
IMAGE = 6
PRINTER = 7
MASS_STORAGE = 8
HUB = 9
class GUsb.DeviceDirection(value)

Bases: GLib.Enum

The message direction.

DEVICE_TO_HOST = 0
HOST_TO_DEVICE = 1
class GUsb.DeviceError(value)

Bases: GLib.Enum

The error code.

INTERNAL = 0
IO = 1
LAST = 10
TIMED_OUT = 2
NOT_SUPPORTED = 3
NO_DEVICE = 4
NOT_OPEN = 5
ALREADY_OPEN = 6
CANCELLED = 7
FAILED = 8
PERMISSION_DENIED = 9
class GUsb.DeviceRecipient(value)

Bases: GLib.Enum

The message recipient.

DEVICE = 0
INTERFACE = 1
ENDPOINT = 2
OTHER = 3
class GUsb.DeviceRequestType(value)

Bases: GLib.Enum

The message request type.

STANDARD = 0
CLASS = 1
VENDOR = 2
RESERVED = 3
class GUsb.SourceError(value)

Bases: GLib.Enum

The error code.

SOURCE_ERROR_INTERNAL = 0