load
Used to load an Audio file when AudioState.NONE.
Sets the audioState to AudioState.READY
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
Used to load an Audio file when AudioState.NONE.
Sets the audioState to AudioState.READY
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used to load an Audio file when AudioState.NONE.
Sets the audioState to AudioState.READY
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used to load an Audio file when AudioState.NONE.
Sets the audioState to AudioState.READY
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard
When overridden, used to load an Audio file when AudioState.NONE.
Sets the audioState to AudioState.READY
Example:
val audio = Audio(audioUrl) // AutoPlay defaults to "false"
audio.play() // plays the sound immediatelyContent copied to clipboard