off

open fun off()

Removes all listeners.


open fun off(eventType: String, token: Int)

Removes a listener from an event queue, using the token as a reference

Parameters

eventType

A string representing the Event type

token

Integer-valued token that was created during 'on'

See also