LocalAudioStreamState enum

Inheritance
Available extensions

Values

LOCAL_AUDIO_STREAM_STATE_STOPPED → const LocalAudioStreamState

@brief The default initial state of the local audio.
Callbacks this state when the microphone stops working, corresponding to kLocalAudioStreamErrorOk in the error code LocalAudioStreamError{@link #LocalAudioStreamError}.

LOCAL_AUDIO_STREAM_STATE_RECORDING → const LocalAudioStreamState

@brief The local audio recording device started successfully.
Callback to this state when the first audio frame is collected, corresponding to kLocalAudioStreamErrorOk in the error code LocalAudioStreamError{@link #LocalAudioStreamError}.

LOCAL_AUDIO_STREAM_STATE_ENCODING → const LocalAudioStreamState

@brief The first frame of the local audio was successfully encoded.
Callback to this state when the first audio frame is successfully encoded, corresponding to kLocalAudioStreamErrorOk in the error code LocalAudioStreamError{@link #LocalAudioStreamError}.

LOCAL_AUDIO_STREAM_STATE_FAILED → const LocalAudioStreamState

@brief The local audio startup failed, and the status is called back at the following times:
- The local recording device failed to start, corresponding to the error code LocalAudioStreamError{@link #LocalAudioStreamError} kLocalAudioStreamErrorRecordFailure. - No recording device permissions detected, corresponding to kLocalAudioStreamError NoPermission in the error code LocalAudioStreamError{@link #LocalAudioStreamError}. - Audio encoding failed, corresponding to the error code kLocalAudioStreamError EncodeFailure in LocalAudioStreamError{@link #LocalAudioStreamError}.

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<LocalAudioStreamState>
A constant List of the values in this enum, in order of their declaration.