onAction

fun onAction(action: (ActionEvent) -> Unit)

Specify what to do when the user clicks on the notification.