Interface PrimaryDevice

All Superinterfaces:
DeleteableObject, Device, DuplicableObject, ObjectProxy, Subscribable

@Deprecated public interface PrimaryDevice extends Device
Deprecated.
This is now replaced by creating a named CursorDevice.
A special kind of device that represents the primary device of a track.
Since:
API version 1
See Also:
  • Method Details

    • switchToDevice

      void switchToDevice(PrimaryDevice.DeviceType deviceType, PrimaryDevice.ChainLocation chainLocation)
      Deprecated.
      Makes the device with the given type and location the new primary device.
      Parameters:
      deviceType - the requested device type of the new primary device
      chainLocation - the requested chain location of the new primary device
      Since:
      API version 1
    • addCanSwitchToDeviceObserver

      @Deprecated void addCanSwitchToDeviceObserver(PrimaryDevice.DeviceType deviceType, PrimaryDevice.ChainLocation chainLocation, BooleanValueChangedCallback callback)
      Deprecated.
      This method never did anything. Please do not use.
      Registers an observer that reports if navigation to another device with the provided characteristics is possible.
      Parameters:
      deviceType - the requested device type of the new primary device
      chainLocation - the requested chain location of the new primary device
      callback - a callback function the receives a single boolean parameter
      Since:
      API version 1