- Preparing search index...
- The search index is not available
matrix-js-sdk
Type alias CallEventHandlerMap
Call
EventHandlerMap: {
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)
-
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: Record<string, any>) => void)
-
- (event: Record<string, any>): void
-
Parameters
-
event: Record<string, any>
Returns void
-
state: ((state: CallState, oldState?: CallState) => void)