Packages
gusb
GUsb
Interface
Interface
get_alternate
get_class
get_endpoints
get_extra
get_index
get_kind
get_length
get_number
get_protocol
get_subclass
Interface
Object Hierarchy:
GUsb.Interface
GUsb.Interface
GUsb.Interface
GLib.Object
GLib.Object
GLib.Object->GUsb.Interface
Description:
[
CCode
( type_id =
"g_usb_interface_get_type ()"
) ]
public
sealed
class
Interface
:
Object
Namespace:
GUsb
Package:
gusb
Content:
Creation methods:
protected
Interface
()
Methods:
public
uint8
get_alternate
()
Gets the alternate setting for the interface.
public
uint8
get_class
()
Gets the interface class, typically a
GUsbInterfaceClassCode
.
public
GenericArray
<
unowned
Endpoint
>
get_endpoints
()
Gets interface endpoints.
public
unowned
Bytes
get_extra
()
Gets any extra data from the interface.
public
uint8
get_index
()
Gets the index for the string descriptor.
public
uint8
get_kind
()
Gets the type of interface.
public
uint8
get_length
()
Gets the USB bus number for the interface.
public
uint8
get_number
()
Gets the interface number.
public
uint8
get_protocol
()
Gets the interface protocol qualified by the class and subclass numbers.
public
uint8
get_subclass
()
Gets the interface subclass qualified by the class number.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref