Interface ClipLauncherSlotBankPlaybackStateChangedCallback

All Superinterfaces:
Callback

public interface ClipLauncherSlotBankPlaybackStateChangedCallback extends Callback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    playbackStateChanged(int slotIndex, int playbackState, boolean isQueued)
    Registers an observer that reports the playback state of clips / slots.
  • Method Details

    • playbackStateChanged

      void playbackStateChanged(int slotIndex, int playbackState, boolean isQueued)
      Registers an observer that reports the playback state of clips / slots. The reported states include `stopped`, `playing`, `recording`, but also `queued for stop`, `queued for playback`, `queued for recording`.
      Parameters:
      playbackState - the queued or playback state: `0` when stopped, `1` when playing, or `2` when recording
      isQueued - indicates if the second argument is referring to the queued state (`true`) or the actual playback state (`false`)
      Since:
      API version 1