setCancelled

abstract fun setCancelled(cancel: Boolean)

Sets the cancellation state of the event.

Since

2.0.0

Parameters

cancel

true to cancel the event, false to allow it