AudioPreviewStatus enum

The AudioPreviewStatus model gathers all possible statuses of audio samples recording for audio preview.

This model is available in SDK 3.10 and later.

Inheritance

Constructors

AudioPreviewStatus(String _value)
const

Values

noRecordingAvailable → const AudioPreviewStatus

There is no recording available.

AudioPreviewStatus("NoRecordingAvailable")
recordingAvailable → const AudioPreviewStatus

The recording is available.

AudioPreviewStatus("RecordingAvailable")
recording → const AudioPreviewStatus

Recording is in progress.

AudioPreviewStatus('Recording')
playing → const AudioPreviewStatus

The recording is played.

AudioPreviewStatus('Playing')
released → const AudioPreviewStatus

The audio session configuration is restarted; there are no recording in the memory.

AudioPreviewStatus('Released')

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

encode() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(String? value) AudioPreviewStatus

Constants

values → const List<AudioPreviewStatus>
A constant List of the values in this enum, in order of their declaration.
[noRecordingAvailable, recordingAvailable, recording, playing, released]