onEventReceived abstract method

void onEventReceived(
  1. Event event
)

This function receives events from UI.

To respond to the event use emit function.

Implementation

void onEventReceived(Event event);