Interface CacophonyEvents

Global Cacophony events including loading and cache operations.

interface CacophonyEvents {
    cacheError: CacheErrorEvent;
    cacheHit: CacheHitEvent;
    cacheMiss: CacheMissEvent;
    globalPause: GlobalPlaybackEvent;
    globalPlay: GlobalPlaybackEvent;
    globalStop: GlobalPlaybackEvent;
    loadingComplete: LoadingCompleteEvent;
    loadingError: LoadingErrorEvent;
    loadingProgress: LoadingProgressEvent;
    loadingStart: LoadingStartEvent;
    mute: undefined;
    resume: undefined;
    suspend: undefined;
    unmute: undefined;
    volumeChange: number;
}

Properties

cacheError: CacheErrorEvent
cacheHit: CacheHitEvent
cacheMiss: CacheMissEvent
globalPause: GlobalPlaybackEvent
loadingComplete: LoadingCompleteEvent
loadingError: LoadingErrorEvent
loadingProgress: LoadingProgressEvent
loadingStart: LoadingStartEvent
mute: undefined
resume: undefined
suspend: undefined
unmute: undefined
volumeChange: number