libusb_capability class abstract

\ingroup libusb_misc Capabilities supported by an instance of libusb on the current running platform. Test if the loaded library supports a given capability by calling \ref libusb_has_capability().

Constructors

libusb_capability()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

LIBUSB_CAP_HAS_CAPABILITY → const int
The libusb_has_capability() API is available.
LIBUSB_CAP_HAS_HID_ACCESS → const int
The library can access HID devices without requiring user intervention. Note that before being able to actually access an HID device, you may still have to call additional libusb functions such as \ref libusb_detach_kernel_driver().
LIBUSB_CAP_HAS_HOTPLUG → const int
Hotplug support is available on this platform.
LIBUSB_CAP_SUPPORTS_DETACH_KERNEL_DRIVER → const int
The library supports detaching of the default USB driver, using \ref libusb_detach_kernel_driver(), if one is set by the OS kernel