Type Alias: AudioWaveformPlayerStateEvent
ts
type AudioWaveformPlayerStateEvent = object;Payload of the onPlayerStateChange prop of AudioWaveformView.
Properties
error?
ts
optional error?: string;Native error message, present only when the player failed.
isPlaying
ts
isPlaying: boolean;Whether audio is playing. In controlled mode, a tap on the play button reports the requested value here without changing playback.
speed
ts
speed: number;Current playback rate. In controlled mode, a tap on the speed pill reports the requested next speed here without changing playback.
state
ts
state: AudioWaveformPlayerState;Current player state.