Skip to content

AudioState

Inherits: Enum

The state of the audio player.

Properties

  • COMPLETED

    The audio player has successfully reached the end of the audio.

  • DISPOSED

    The audio player has been disposed of and should not be used anymore.

  • PAUSED

    The audio player is paused and can be resumed.

  • PLAYING

    The audio player is currently playing audio.

  • STOPPED

    The audio player is stopped.

Properties#

COMPLETED = 'completed' #

The audio player has successfully reached the end of the audio.

DISPOSED = 'disposed' #

The audio player has been disposed of and should not be used anymore.

PAUSED = 'paused' #

The audio player is paused and can be resumed.

PLAYING = 'playing' #

The audio player is currently playing audio.

STOPPED = 'stopped' #

The audio player is stopped.