play
When overridden, used after Audio is initialized with AudioState.READY to play the sound immediately.
Sets the audioState to AudioState.PLAYING
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
Used after Audio is initialized with AudioState.READY to play the sound immediately.
Sets the audioState to AudioState.PLAYING
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used after Audio is initialized with AudioState.READY to play the sound immediately.
Sets the audioState to AudioState.PLAYING
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used after Audio is initialized with AudioState.READY to play the sound immediately.
Sets the audioState to AudioState.PLAYING
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used after Audio is initialized with AudioState.READY to play the sound immediately.
Sets the audioState to AudioState.PLAYING
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard