The requirement is to get scanner details programmatically that is connected via USB.
example: product_id, vendor_id, scanner_modelName, etc
Tried Android USB Intent filters, but they are not getting triggered even after attaching and detaching the scanner.
USB_DEVICE_ATTACHED, USB_DEVICE_DETACHED, USB_ACCESSORY_ATTACHED, and USB_ACCESSORY_DETACHED