Creates new instance.
Adds new cancellable listener.
the name of the event
the listener.
Alias for on method.
The event ID.
Handler for the event.
Adds new listener.
the name of the event
the listener.
Emits an event.
event name
Returns the number of listeners for the specified event.
Optional
eventName: stringThe name of the event.
Removes event listener.
The event ID.
Optional
handler: EventListenerOptional, the specific handler to unbind.
Attaches a handler for events (e.g., "participant joined") in the conference. All possible events are defined in JitsiConferenceEvents.
The event ID.
Handler for the event.
Adds a one-time listener function for the event.
The event ID.
Handler for the event.
Removes all listeners for the event emitter.
Alias for off method.
The event ID.
Optional
handler: EventListenerOptional, the specific handler to unbind.
Removes listener.
the name of the event that triggers the listener
the listener.
The class implements basic event operations - add/remove listener. NOTE: The purpose of the class is to be extended in order to add this functionality to other classes.