pub fn usb_device_open(device_path: &str) -> Result<OwnedFd>Expand description
Opens a USB device and returns its file descriptor.
This is the primary Android entry point for opening a UVC camera. Returns an owned duplicate of the USB fd. The caller must close it. The temporary Java UsbDeviceConnection is closed before returning.