GUsb.DeviceEvent¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GUsb.DeviceEvent(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_bytes()¶
- Returns:
a
GLib.Bytes
, orNone
- Return type:
Gets any bytes data from the event.
New in version 0.4.0.
- get_rc()¶
- Returns:
a
enum libusb_error
- Return type:
Gets any return code from the event.
New in version 0.4.5.
- get_status()¶
- Returns:
a
enum libusb_transfer_status
, or -1 for failure- Return type:
Gets any status data from the event.
New in version 0.4.0.
- set_bytes(bytes)¶
- Parameters:
bytes (
GLib.Bytes
) – aGLib.Bytes
Set the bytes data to the event.
New in version 0.4.0.