EventCallback

fun interface EventCallback<T : Any>

Represents a callback for catching events data.

Parameters

T

type of the caught event data

Functions

Link copied to clipboard
abstract operator fun invoke(eventData: T)

Called to handle data from a captured event.