Documentation / listeners / com.femastudios.listeners / CallableListenersManager
CallableListenersManager
interface CallableListenersManager<Interface : Any> : ListenersManager<Interface>
A CallableListenersManager allows to invoke methods on registered listeners, by using call.
Properties
call |
Returns a class that implements Interface, from which you can call the listener methods abstract val call: Interface |
Functions
call |
Returns a class that implements Interface, from which you can call the listener methods open fun call(): Interface |
Inheritors
ReflectionListenersManager |
This implementation of ListenersManager is the easiest to use. Through reflection, it is possible to use it without the need to write any custom code. open class ReflectionListenersManager<Interface : Any> : BaseListenersManager<Interface>, CallableListenersManager<Interface> |