createFromFileDescriptor
Creates a USB CCID NfcTagReaderUsb wrapping an already-opened OS file descriptor for a /dev/bus/usb/BBB/DDD device node via libusb_wrap_sys_device() (requires libusb>= 1.0.23).
This is intended for privilege-separated or containerized Linux deployments where a launcher or supervisor opens the USB device node and passes the file descriptor to an unprivileged reader process. Per libusb semantics, calling NfcTagReaderUsb.close releases the claimed USB interface and libusb handle without closing fileDescriptor itself; the caller remains responsible for closing fileDescriptor once the reader has been closed.
Return
a closeable NfcTagReaderUsb ready to scan tags via NfcTagReaderUsb.scan.
Parameters
a non-negative open POSIX file descriptor referring to a Linux usbfs device node (/dev/bus/usb/BBB/DDD).
the USB bInterfaceNumber of the CCID interface to claim, or null (the default) to automatically select the first contactless NFC CCID interface (skipping SAM/SIM and mechanical contact card slots).
how long to keep the USB interface claimed after a completed scan and tag removal before releasing it (defaults to 5.seconds).
Throws
if fileDescriptor is negative or interfaceIndex / disconnectDelay is out of range.