public final class HotplugCallbackHandle extends Object
LibUsb.hotplugRegisterCallback(
Context, int, int, int, int, int, HotplugCallback, Object,
HotplugCallbackHandle)
and can be used to deregister callbacks. Callback
handles are unique per Context
and it is safe to call
LibUsb.hotplugDeregisterCallback(Context, HotplugCallbackHandle)
on an already deregistered callback.Constructor and Description |
---|
HotplugCallbackHandle()
Constructs a new hotplug callback handle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getValue()
Returns the hotplug callback handle value.
|
int |
hashCode() |
String |
toString() |
public HotplugCallbackHandle()
LibUsb.hotplugRegisterCallback(Context, int, int, int, int, int,
HotplugCallback, Object, HotplugCallbackHandle)
before passing it
to any other method.Copyright © 2011–2018 usb4java Team. All rights reserved.