removeAllListeners

abstract fun removeAllListeners()

Removes all listeners, or those of the specified eventName.


abstract fun removeAllListeners(eventName: String)

Removes all listeners, or those of the specified eventName.

Parameters

eventName

The name of the event.