@gnaudio/jabra-js
    Preparing search index...

    Interface IRecorderInternal

    Interface that describes a recorder which collects input/output messages. Used for virtual device call/response recordings and debugging low level communication layer.

    interface IRecorder {
        recordInput: (event: object) => void;
        recordOutput: (action: object) => void;
    }
    Index

    Properties

    recordInput: (event: object) => void

    Record an incoming input message. Triggered on input event from the low level communication layer.

    Type Declaration

      • (event: object): void
      • Parameters

        • event: object

          Raw input event, formatted in JSON.

        Returns void

    recordOutput: (action: object) => void

    Record an outgoing output message. Triggered when an Action object is sent to the low level communication layer.

    Type Declaration

      • (action: object): void
      • Parameters

        • action: object

          Raw output event, formatted in JSON.

        Returns void