AudioPlayer

Members


volume

number

The volume of the sound, from 0 to 100, default 100 (read/write)

muted

boolean

Whether the sound is muted or not (read/write)

looping

boolean

Whether the sound is looping or not (play again when finished) (read/write)

position

integer

The position of the sound in seconds (read/write)

status

any

string|"opening"|"no_source"|"playing"|"paused"|"stopped"|"buffering" The status of the sound (read only)

duration

integer

The duration of the sound in seconds (read only)

isFinished

boolean

Whether the sound has finished playing or not (read only)

isPlaying

boolean

Whether the sound is playing or not (read only)

isPaused

boolean

Whether the sound is paused or not (read only)

isStopped

boolean

Whether the sound is stopped or not (read only)