libusb_capability enum
\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().
Values
- LIBUSB_CAP_HAS_CAPABILITY → const libusb_capability
-
The libusb_has_capability() API is available.
const libusb_capability(0)
- LIBUSB_CAP_HAS_HOTPLUG → const libusb_capability
-
Hotplug support is available on this platform.
const libusb_capability(1)
- LIBUSB_CAP_HAS_HID_ACCESS → const libusb_capability
-
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().
const libusb_capability(256)
- LIBUSB_CAP_SUPPORTS_DETACH_KERNEL_DRIVER → const libusb_capability
-
The library supports detaching of the default USB driver, using \ref libusb_detach_kernel_driver(), if one is set by the OS kernel
const libusb_capability(257)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
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
Static Methods
-
fromValue(
int value) → libusb_capability
Constants
-
values
→ const List<
libusb_capability> - A constant List of the values in this enum, in order of their declaration.