Add EventDetector to EventHandler.init(...)
Add the EventDetector
as a method parameter to EventHandler.init(...)
. Lets the handler know some information about the detector before any events occur.
Add the EventDetector
as a method parameter to EventHandler.init(...)
. Lets the handler know some information about the detector before any events occur.