The value of this provided for the call to listener
eventName: Event
The name of the event.
Optionallistener: Listener
The callback function.
Returns this
listenToAndRun
listenToAndRun(context, eventName, listener?): this
Parameters
context: any
The value of this provided for the call to listener
eventName: Event
The name of the event.
Optionallistener: Listener
The callback function.
Returns this
listenToOnce
listenToOnce(context, eventName, listener?): this
Parameters
context: any
The value of this provided for the call to listener
eventName: Event
The name of the event.
Optionallistener: Listener
The callback function.
Returns this
off
off(eventName?, listener?, context?): this
Removes the specified listener from the listener array for the event named eventName.
Parameters
OptionaleventName: Event
The name of the event.
Optionallistener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
on
on(eventName, listener, context?): this
Adds the listener function to the end of the listeners array for the event named eventName.
Parameters
eventName: Event
The name of the event.
listener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
once
once(eventName, listener, context?): this
Adds a one-time listener function for the event named eventName.
Parameters
eventName: Event
The name of the event.
listener: Listener
The callback function.
Optionalcontext: any
The value of this provided for the call to listener
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
onParticipantShortNameUpdated
onParticipantShortNameUpdated(): any
Returns any
queryGroupV4PendingInvite
queryGroupV4PendingInvite(): any
Returns any
removeAllListeners
removeAllListeners(): this
Removes all listeners.
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
removeListener
removeListener(eventName?, listener?, context?): this
Alias of off
Parameters
OptionaleventName: Event
Optionallistener: Listener
Optionalcontext: any
Returns this
Alias
off
reset
reset(): void
Returns void
revokeGroupV4AddInvite
revokeGroupV4AddInvite(e?): any
Parameters
Optionale: any
Returns any
serialize
serialize(): Props
Returns Props
set
set(...args): any
Parameters
Rest...args: any
Returns any
stopListening
stopListening(context?, eventName?, listener?): this
Parameters
Optionalcontext: any
OptionaleventName: Event
Optionallistener: Listener
Returns this
toJSON
toJSON(): Props
Returns Props
trigger
trigger(eventName, ...args): this
Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.
Parameters
eventName: Event
Rest...args: any[]
Returns this
Returns a reference to the EventEmitter, so that calls can be chained.
Whatsapp
14423
Whatsapp
614423 >= 2.2222.8