setEventListener

Set the handler for the SDK's events.