Events which can be triggered by user interaction as well as internally. The issuer is to determine whether this was triggered internally ('api') or by the UI ('ui')

interface VolumeChangedEvent {
    issuer?: string;
    sourceVolume: number;
    targetVolume: number;
    timestamp: number;
    type: PlayerEvent;

Hierarchy (view full)


issuer?: string

The issuer of this event, as passed into the according API method. 'api' by default if no issuer was specified.

sourceVolume: number

The volume before the event has been triggered

targetVolume: number

The new selected volume

timestamp: number

The time at which this event was fired

Event type, e.g. 'play'