Event

abstract class Event<out T>(val source: T)

Inheritors

Constructors

Link copied to clipboard
protected constructor(source: T)

Properties

Link copied to clipboard

Indicates whether the event has been consumed.

Link copied to clipboard
val source: T

Functions

Link copied to clipboard
fun consume()

Sets an event's state to consumed. Consuming an event prevents other listeners and the OS from handling it.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String