public interface HotplugCallback
Modifier and Type | Method and Description |
---|---|
int |
processEvent(Context context,
Device device,
int event,
Object userData)
Process a hotplug event.
|
int processEvent(Context context, Device device, int event, Object userData)
LibUsb.hotplugRegisterCallback(Context, int, int, int, int, int,
HotplugCallback, Object, HotplugCallbackHandle)
or
LibUsb.hotplugDeregisterCallback(Context, HotplugCallbackHandle)
from within a callback.context
- Context of this notification.device
- Device this event occurred on.event
- Event that occurred.userData
- user data provided when this callback was registeredCopyright © 2011–2018 usb4java Team. All rights reserved.