Type alias CallEventHandlerMap

CallEventHandlerMap: {
    asserted_identity_changed: (() => void);
    datachannel: ((channel: RTCDataChannel) => void);
    error: ((error: CallError) => void);
    feeds_changed: ((feeds: CallFeed[]) => void);
    hangup: ((call: MatrixCall) => void);
    hold_unhold: ((onHold: boolean) => void);
    length_changed: ((length: number) => void);
    local_hold_unhold: ((onHold: boolean) => void);
    remote_hold_unhold: ((onHold: boolean) => void);
    replaced: ((newCall: MatrixCall) => void);
    send_voip_event: ((event: Record<string, any>) => void);
    state: ((state: CallState, oldState?: CallState) => void);
}

Type declaration

  • asserted_identity_changed: (() => void)
      • (): void
      • Returns void

  • datachannel: ((channel: RTCDataChannel) => void)
      • (channel: RTCDataChannel): void
      • Parameters

        • channel: RTCDataChannel

        Returns void

  • error: ((error: CallError) => void)
  • feeds_changed: ((feeds: CallFeed[]) => void)
  • hangup: ((call: MatrixCall) => void)
  • hold_unhold: ((onHold: boolean) => void)
      • (onHold: boolean): void
      • Parameters

        • onHold: boolean

        Returns void

  • length_changed: ((length: number) => void)
      • (length: number): void
      • Parameters

        • length: number

        Returns void

  • local_hold_unhold: ((onHold: boolean) => void)
      • (onHold: boolean): void
      • Parameters

        • onHold: boolean

        Returns void

  • remote_hold_unhold: ((onHold: boolean) => void)
      • (onHold: boolean): void
      • Parameters

        • onHold: boolean

        Returns void

  • replaced: ((newCall: MatrixCall) => void)
  • send_voip_event: ((event: Record<string, any>) => void)
      • (event: Record<string, any>): void
      • Parameters

        • event: Record<string, any>

        Returns void

  • state: ((state: CallState, oldState?: CallState) => void)

Generated using TypeDoc