Optional
Add a playback listener.
Add a state listener.
State transition: [playing] to [paused]
State transition: [idle, stopped] to [playing] - start from the beginning [paused] to [playing] - resume
Check and request permission for the player.
State transition: [*] to [idle]
Seek time, only available when the state is [playing, paused].
State transition: [preparing, playing, paused] to [stop]
Generated using TypeDoc
Add a playback listener.