AndroidRecordConfig class

Android specific configuration for recording.

Constructors

AndroidRecordConfig.new({bool useLegacy = false, bool muteAudio = false, bool manageBluetooth = true, AndroidAudioSource audioSource = AndroidAudioSource.defaultSource, bool speakerphone = false, AudioManagerMode audioManagerMode = AudioManagerMode.modeNormal})
const

Properties

audioManagerMode AudioManagerMode
Defines the audio manager mode. This is used to set the audio manager mode before recording.
final
audioSource AndroidAudioSource
Defines the audio source. An audio source defines both a default physical source of audio signal, and a recording configuration.
final
hashCode int
The hash code for this object.
no setterinherited
manageBluetooth bool
Try to start a bluetooth audio connection to a headset (Bluetooth SCO).
final
muteAudio bool
If true, this will mute all audio streams like alarms, music, ring, ...
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speakerphone bool
Set the speakerphone on. If true, this will set the speakerphone on and might help to resolve acoustic echo cancellation issues on some devices.
final
useLegacy bool
Uses Android MediaRecorder if true.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Transforms model to JSON map.
toString() String
A string representation of this object.
inherited

Operators

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