Interface VolumeChangeEvent

Fired when ChromelessPlayer.volume changes.

interface VolumeChangeEvent {
    date: Date;
    type: "volumechange";
    volume: number;
}

Hierarchy (view full)

  • Event<"volumechange">
    • VolumeChangeEvent

Properties

Properties

date: Date

The creation date of the event.

type: "volumechange"

The type of the event.

volume: number

The player's new volume.