libusb_hotplug_event enum
\ingroup libusb_hotplug
Since version 1.0.16, \ref LIBUSB_API_VERSION >= 0x01000102
Hotplug events
Values
- LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED → const libusb_hotplug_event
-
A device has been plugged in and is ready to use
const libusb_hotplug_event(1)
- LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT → const libusb_hotplug_event
-
A device has left and is no longer available. It is the user's responsibility to call libusb_close on any handle associated with a disconnected device. It is safe to call libusb_get_device_descriptor on a device that has left
const libusb_hotplug_event(2)
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_hotplug_event
Constants
-
values
→ const List<
libusb_hotplug_event> - A constant List of the values in this enum, in order of their declaration.