setEventListener

Set the handler for the Sdk's events.