Skip to content

AudioRecorderState

Bases: Enum

The available AudioRecorder states are:
  • STOPPED
  • RECORDING
  • PAUSED
Source code in src/flet_audio_recorder/audio_recorder.py
13
14
15
16
17
18
19
20
21
22
23
class AudioRecorderState(Enum):
    """
        The available AudioRecorder states are:

    - `STOPPED`
    - `RECORDING`
    - `PAUSED`
    """
    STOPPED = "stopped"
    RECORDING = "recording"
    PAUSED = "paused"