GUsb.BosDescriptor

g GObject.Object GObject.Object GUsb.BosDescriptor GUsb.BosDescriptor GObject.Object->GUsb.BosDescriptor

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_capability ()

get_extra ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GUsb.BosDescriptor(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUsb.BosDescriptorClass

get_capability()
Returns:

capability

Return type:

int

Gets the BOS descriptor capability.

New in version 0.4.0.

get_extra()
Returns:

a GLib.Bytes, or None for failure

Return type:

GLib.Bytes

Gets any extra data from the BOS descriptor.

New in version 0.4.0.