Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Audio

Represents an audio control implementation

Hierarchy

  • Audio

Implemented by

Index

Properties

Methods

Properties

loop

loop: boolean

Whether the audio should loop (repeat forever)

volume

volume: number

The volume (between 0 and 1)

Methods

isPlaying

  • isPlaying(): boolean

pause

  • pause(): void

play

stop

  • stop(): void