AudioState
Defined in: audio.ts:43
Properties
Section titled “Properties”durationMs
Section titled “durationMs”durationMs:
number
Defined in: audio.ts:47
ended:
boolean
Defined in: audio.ts:52
errored
Section titled “errored”errored:
boolean
Defined in: audio.ts:53
listenedMs
Section titled “listenedMs”listenedMs:
number
Defined in: audio.ts:51
Wall-clock time this track was actually audible. Drives listen analytics.
percent
Section titled “percent”percent:
number
Defined in: audio.ts:49
0..1. Zero when the duration is not yet known — never NaN.
playing
Section titled “playing”playing:
boolean
Defined in: audio.ts:45
positionMs
Section titled “positionMs”positionMs:
number
Defined in: audio.ts:46
provider
Section titled “provider”provider:
AudioProvider
Defined in: audio.ts:44