Interface SourceChangeEvent

Fired when ChromelessPlayer.source changes.

interface SourceChangeEvent {
    date: Date;
    source: undefined | SourceDescription;
    type: "sourcechange";
}

Hierarchy (view full)

  • Event<"sourcechange">
    • SourceChangeEvent

Properties

Properties

date: Date

The creation date of the event.

source: undefined | SourceDescription

The player's new source.

type: "sourcechange"

The type of the event.