Interface CurrentSourceChangeEvent

Dispatched when the current source, which is chosen from the source description's sources, changes.

interface CurrentSourceChangeEvent {
    currentSource: undefined | TypedSource;
    date: Date;
    type: CURRENT_SOURCE_CHANGE;
}

Hierarchy (view full)

Properties

currentSource: undefined | TypedSource

The player's new current source.

date: Date

The creation date of the event.

The type of the event.