|
Bitwig Studio Control Surface API
4.0.1
|
Inheritance diagram for UsbDeviceMatcher:Public Member Functions | |
| UsbDeviceMatcher (final String name, final String expression, final UsbConfigurationMatcher configurationMatcher) | |
| UsbDeviceMatcher (final String name, final String expression, final UsbInterfaceMatcher... interfaceMatchers) | |
| String | getExpression () |
| UsbConfigurationMatcher | getConfigurationMatcher () |
Public Member Functions inherited from HardwareDeviceMatcher | |
| String | getName () |
Additional Inherited Members | |
Protected Member Functions inherited from HardwareDeviceMatcher | |
| HardwareDeviceMatcher (final String name) | |
Defines information needed to identify suitable USB devices for use by an extension.
Definition at line 8 of file UsbDeviceMatcher.java.
| UsbDeviceMatcher | ( | final String | name, |
| final String | expression, | ||
| final UsbConfigurationMatcher | configurationMatcher | ||
| ) |
Creates a UsbDeviceMatcher that matches a USB device that matches the supplied expression and has a configuration matching the supplied UsbConfigurationMatcher.
| name | A human friendly name that describes the kind of devices this matcher tries to match. |
| expression | An expression that can be used on the USB device descriptor to decide if the device matches. Variables in the expression can refer to the following fields of the device descriptor: |
For example to match a device that has vendor id 0x10 product id 0x20 the expression would be:
"idVendor == 0x10 && idProduct == 0x20"
| configurationMatcher | Object that tries to match a configuration on the device that it can use. |
Definition at line 32 of file UsbDeviceMatcher.java.
| UsbDeviceMatcher | ( | final String | name, |
| final String | expression, | ||
| final UsbInterfaceMatcher... | interfaceMatchers | ||
| ) |
Creates a UsbDeviceMatcher that matches a USB device that matches the supplied expression and has a configuration matching the supplied UsbInterfaceMatchers.
| name | A human friendly name that describes the kind of devices this matcher tries to match. |
| expression | An expression that can be used on the USB device descriptor to decide if the device matches. Variables in the expression can refer to the following fields of the device descriptor: |
For example to match a device that has vendor id 0x10 product id 0x20 the expression would be:
"idVendor == 0x10 && idProduct == 0x20"
| interfaceMatchers | UsbInterfaceMatchers that define the USB interface descriptors that a configuration of the device needs to have. |
Definition at line 65 of file UsbDeviceMatcher.java.
| UsbConfigurationMatcher getConfigurationMatcher | ( | ) |
Object that tries to match a configuration on the device that it can use.
Definition at line 90 of file UsbDeviceMatcher.java.
| String getExpression | ( | ) |
An expression that can be used on the USB device descriptor to decide if the device matches. Variables in the expression can refer to the following fields of the device descriptor:
For example to match a device that has vendor id 0x10 product id 0x20 the expression would be:
"idVendor == 0x10 && idProduct == 0x20"
Definition at line 84 of file UsbDeviceMatcher.java.