Interface AudioEventCallbacks

Combined event callbacks for loading, error, and cache operations.

interface AudioEventCallbacks {
    onCacheError: undefined | ((event) => void);
    onCacheHit: undefined | ((event) => void);
    onCacheMiss: undefined | ((event) => void);
    onLoadingComplete: undefined | ((event) => void);
    onLoadingError: undefined | ((event) => void);
    onLoadingProgress: undefined | ((event) => void);
    onLoadingStart: undefined | ((event) => void);
    onPlaybackError: undefined | ((event) => void);
    onSoundError: undefined | ((event) => void);
}

Hierarchy (view full)

Properties

onCacheError: undefined | ((event) => void)

Type declaration

onCacheHit: undefined | ((event) => void)

Type declaration

onCacheMiss: undefined | ((event) => void)

Type declaration

onLoadingComplete: undefined | ((event) => void)

Type declaration

onLoadingError: undefined | ((event) => void)

Type declaration

onLoadingProgress: undefined | ((event) => void)

Type declaration

onLoadingStart: undefined | ((event) => void)

Type declaration

onPlaybackError: undefined | ((event) => void)

Type declaration

onSoundError: undefined | ((event) => void)

Type declaration