AudioRecorderIns class
- Implemented types
Constructors
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
-
convertBytesToInt16(
Uint8List bytes, [dynamic endian = Endian.little]) → List< int> -
Utility method to get PCM data as signed 16 bits integers.
inherited
-
dispose(
) → Future< void> -
Dispose 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(
) → Future< bool> -
Checks and 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> -
Request 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> > -
Same as
startwith output stream instead of a path.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