Type: Audio GraceDocs
Audio = type { ...added methods below... }

Added methods

Method signature Return type
isEnded Boolean
Whether the audio has finished playing.
isLooping Boolean
Whether the audio will loop back to the start when it ends.
looping:=( value: Boolean) Done
pause Done
Pause the audio.
play Done
Play the audio.
source String
The source URL of the audio.
source:=( value: String) Done