Type alias CallEventHandlerMap
Call
Event
Handler
Map
: { 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
: VoipEvent) => void); state
: ((state
: CallState, oldState
?: CallState) => void); }
Type declaration
-
asserted_identity_changed: (() => void)
-
datachannel: ((channel: RTCDataChannel) => void)
-
- (channel: RTCDataChannel): void
-
Returns void
-
error: ((error: CallError) => void)
-
feeds_changed: ((feeds: CallFeed[]) => void)
-
hangup: ((call: MatrixCall) => void)
-
hold_unhold: ((onHold: boolean) => void)
-
- (onHold: boolean): void
-
Returns void
-
length_changed: ((length: number) => void)
-
- (length: number): void
-
Returns void
-
local_hold_unhold: ((onHold: boolean) => void)
-
- (onHold: boolean): void
-
Returns void
-
remote_hold_unhold: ((onHold: boolean) => void)
-
- (onHold: boolean): void
-
Returns void
-
replaced: ((newCall: MatrixCall) => void)
-
send_voip_event: ((event: VoipEvent) => void)
-
state: ((state: CallState, oldState?: CallState) => void)