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' class-attribute instance-attribute #

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

DISPOSED = 'disposed' class-attribute instance-attribute #

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

PAUSED = 'paused' class-attribute instance-attribute #

The audio player is paused and can be resumed.

PLAYING = 'playing' class-attribute instance-attribute #

The audio player is currently playing audio.

STOPPED = 'stopped' class-attribute instance-attribute #

The audio player is stopped.