[ Version ( since = "0.40" ) ]
public UsbDevice? allocate_device_for_file_descriptor (int file_descriptor) throws Error
Allocates a SpiceUsbDevice instance for the specified file descriptor.
| this |
the UsbDeviceManager manager. |
| file_descriptor |
an open file descriptor for the USB device. |
|
an allocated SpiceUsbDevice instance or null in case of failure. |