Bitwig Studio Control Surface API  4.0.1
UsbInterfaceMatcher.java
1 package com.bitwig.extension.controller;
2 
3 public class UsbInterfaceMatcher extends UsbMatcher
4 {
5  public UsbInterfaceMatcher(final String expression, final int matchOccurrence, final UsbEndpointMatcher... endpointMatchers)
6  {
7  super(expression, matchOccurrence);
8 
9  mEndpointMatchers = endpointMatchers;
10  }
11 
12  public UsbInterfaceMatcher(final String expression, final UsbEndpointMatcher... endpointMatchers)
13  {
14  this(expression, 1, endpointMatchers);
15  }
16 
17  public UsbEndpointMatcher[] getEndpointMatchers()
18  {
19  return mEndpointMatchers;
20  }
21 
22  private final UsbEndpointMatcher[] mEndpointMatchers;
23 }