Class ControllerExtensionDefinition

java.lang.Object
com.bitwig.extension.ExtensionDefinition
com.bitwig.extension.controller.ControllerExtensionDefinition

public abstract class ControllerExtensionDefinition extends ExtensionDefinition
Defines an extension that enabled a controller to work with Bitwig Studio.
  • Constructor Details

    • ControllerExtensionDefinition

      public ControllerExtensionDefinition()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class ExtensionDefinition
    • getHardwareVendor

      public abstract String getHardwareVendor()
      The vendor of the controller that this extension is for.
    • getHardwareModel

      public abstract String getHardwareModel()
      The model name of the controller that this extension is for.
    • getNumMidiInPorts

      public abstract int getNumMidiInPorts()
      The number of MIDI in ports that this controller extension has.
    • getNumMidiOutPorts

      public abstract int getNumMidiOutPorts()
      The number of MIDI out ports that this controller extension has.
    • getAutoDetectionMidiPortNamesList

      public final AutoDetectionMidiPortNamesList getAutoDetectionMidiPortNamesList(PlatformType platformType)
      Obtains a AutoDetectionMidiPortNamesList that defines the names of the MIDI in and out ports that can be used for auto detection of the controller for the supplied platform type.
    • listAutoDetectionMidiPortNames

      public abstract void listAutoDetectionMidiPortNames(AutoDetectionMidiPortNamesList list, PlatformType platformType)
      Lists the AutoDetectionMidiPortNames that defines the names of the MIDI in and out ports that can be used for auto detection of the controller for the supplied platform type.
    • getHardwareDeviceMatcherList

      public final HardwareDeviceMatcherList getHardwareDeviceMatcherList()
    • listHardwareDevices

      public void listHardwareDevices(HardwareDeviceMatcherList list)
      Lists the hardware devices that this controller needs to function. For each device that is listed the user will see a chooser in the preferences for this extension that allows them to choose a connected device. The HardwareDeviceMatcher will also be used during auto detection to automatically add and select the device if possible.
      Since:
      API version 7
    • createInstance

      public abstract ControllerExtension createInstance(ControllerHost host)
      Creates an instance of this extension.