AudioRecorderIns class

Implemented types

Constructors

AudioRecorderIns()

Properties

hashCode → int
The hash code for this object.
no setterinherited
ios → RecordIos?
iOS platform specific methods.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → Future<void>
Stops and discards/deletes the file/blob.
inherited
dispose() → Future<void>
Disposes the recorder.
inherited
get(Token name) → Object?
override
getAmplitude() → Future<Amplitude>
Gets current average & max amplitudes (dBFS) Always returns zeros on unsupported platforms
inherited
hasPermission({bool request = true}) → Future<bool>
Checks and optionally requests for audio record permission.
inherited
isEncoderSupported(AudioEncoder encoder) → Future<bool>
Checks if the given encoder is supported on the current platform.
inherited
isPaused() → Future<bool>
Checks if recording session is paused.
inherited
isRecording() → Future<bool>
Checks if there's valid recording session. So if session is paused, this method will still return true.
inherited
listInputDevices() → Future<List<InputDevice>>
Lists capture/input devices available on the platform.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAmplitudeChanged(Duration interval) → Stream<Amplitude>
Requests for amplitude at given interval.
inherited
onStateChanged() → Stream<RecordState>
Listen to recorder states RecordState.
inherited
pause() → Future<void>
Pauses recording session.
inherited
resume() → Future<void>
Resumes recording session after pause.
inherited
start(RecordConfig config, {required String path}) → Future<void>
Starts new recording session.
inherited
startStream(RecordConfig config) → Future<Stream<Uint8List>>
Starts stream recording and returns the stream.
inherited
stop() → Future<String?>
Stops recording session and release internal recorder resource.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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