Event

open class Event(type: String, bubbles: Boolean, data: Any?)

Carries an event name, payload, and dispatch metadata.

Parameters

type

The event name.

bubbles

Whether the event is marked as bubbling.

data

The event payload, or null.

Constructors

Link copied to clipboard
constructor(type: String, bubbles: Boolean, data: Any?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The dispatcher currently delivering the event.

Link copied to clipboard
var data: Any?

The event payload, or null if no payload is supplied.

Link copied to clipboard

Whether this event is marked as bubbling.

Link copied to clipboard

The originating dispatcher, when assigned.

Link copied to clipboard
var type: String?

The event name, such as RTMP_STATUS or IO_ERROR.

Functions

Link copied to clipboard

Marks propagation as stopped after the current target's listeners finish.