Type Alias: AudioWaveformPlayerState
ts
type AudioWaveformPlayerState = "idle" | "loading" | "ready" | "ended" | "error";Playback state reported in AudioWaveformPlayerStateEvent.state.
idle: no source loaded.loading: the source is set and the native player is buffering it.ready: the player can play; checkisPlayingto see whether it is.ended: playback reached the end andloopis off.error: the native player failed to load or play the source.