onUsbAttachedOrDetached abstract method

void onUsbAttachedOrDetached(
  1. UsbDev? usbDevice,
  2. bool isAttached
)

Implementation

void onUsbAttachedOrDetached(UsbDev? usbDevice, bool isAttached);