Uses of Interface
net.codecrete.usb.USBDevicePredicate
-
Uses of USBDevicePredicate in net.codecrete.usb
Classes in net.codecrete.usb that implement USBDevicePredicateModifier and TypeClassDescriptionclassFilter condition for matching USB devices.Methods in net.codecrete.usb with parameters of type USBDevicePredicateModifier and TypeMethodDescriptionstatic USBDeviceUSB.getDevice(USBDevicePredicate predicate) Gets the first connected USB device matching the specified predicate.USB.getDevices(USBDevicePredicate predicate) Gets a list of connected USB devices matching the specified predicate.Method parameters in net.codecrete.usb with type arguments of type USBDevicePredicateModifier and TypeMethodDescriptionstatic USBDeviceUSB.getDevice(List<USBDevicePredicate> predicates) Gets the first connected USB device matching any of the specified predicates.USB.getDevices(List<USBDevicePredicate> predicates) Gets a list of connected USB devices matching any of the specified predicates/filters.static booleanUSBDevicePredicate.matchesAny(USBDevice device, List<USBDevicePredicate> predicates) Test if the USB devices matches any of the filter conditions.