Class BasicAtem

Hierarchy

Constructors

Properties

dataTransferManager: DataTransferManager

Accessors

Methods

  • Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns BasicAtem

  • Parameters

    • address: string
    • Optional port: number

    Returns Promise<void>

  • Returns Promise<void>

  • Calls each of the listeners registered for a given event.

    Type Parameters

    Parameters

    Returns boolean

  • Return an array listing the events for which the emitter has registered listeners.

    Returns (keyof AtemEvents)[]

  • Return the number of listeners listening to a given event.

    Parameters

    Returns number

  • Return the listeners registered for a given event.

    Type Parameters

    Parameters

    • event: T

    Returns ((...args) => void)[]

  • Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any
    • Optional once: boolean

    Returns BasicAtem

  • Add a listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns BasicAtem

  • Add a one-time listener for a given event.

    Type Parameters

    Parameters

    • event: T
    • fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any

    Returns BasicAtem

  • Remove all listeners, or those of the specified event.

    Parameters

    Returns BasicAtem

  • Remove the listeners of a given event.

    Type Parameters

    Parameters

    • event: T
    • Optional fn: ((...args) => void)
        • (...args): void
        • Parameters

          Returns void

    • Optional context: any
    • Optional once: boolean

    Returns BasicAtem

Generated using TypeDoc