onEvent abstract method

void onEvent(
  1. Event event
)

Implementation

void onEvent(Event event);