NullUsbDetector

physical. NullUsbDetector

A dummy USB detector that does not support USB monitoring. To use in case the "usb-detection" module is not available.

Constructor

new NullUsbDetector()

Source:

Methods

on()

Description:
  • No-op

Source:

startMonitoring()

Description:
  • No-op

Source:

stopMonitoring()

Description:
  • No-op

Source:

supportsMonitoring()

Description:
  • Whether this detector supports monitoring: if the detector detects.

Source:
Returns:

If the detector supports monitoring - always false.