Interface MixstatusEvents

The interface the mix status event emitter should follow

Hierarchy

  • MixstatusEvents

Properties

nowPlaying: ((state: State) => void)

Type declaration

    • (state: State): void
    • Fired when a track is considered to be on-air and is being heard by the audiance

      Parameters

      Returns void

setEnded: (() => void)

Type declaration

    • (): void
    • Fired when tracks have been stopped

      Returns void

setStarted: (() => void)

Type declaration

    • (): void
    • Fired when a DJ set first starts

      Returns void

stopped: ((opt: {
    deviceId: number;
}) => void)

Type declaration

    • (opt: {
          deviceId: number;
      }): void
    • Fired when a track has stopped and is completley offair

      Parameters

      • opt: {
            deviceId: number;
        }
        • deviceId: number

      Returns void

Generated using TypeDoc