EventCancellable

An interface representing an event that can be cancelled. Events implementing this interface can have their execution cancelled, preventing further processing.

Inheritors

Functions

Link copied to clipboard
abstract fun isCancelled(): Boolean
Checks the cancellation state of this event.
Link copied to clipboard
abstract fun setCancelled(cancel: Boolean)
Sets the cancellation state of this event.