FlutterSoundRecorderWeb class

The web implementation of FlutterSoundRecorderPlatform.

This class implements the package:FlutterSoundPlayerPlatform functionality for the web.

Inheritance
  • Object
  • PlatformInterface
  • FlutterSoundRecorderPlatform
  • FlutterSoundRecorderWeb

Constructors

FlutterSoundRecorderWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
mediaRecorderWeb FlutterSoundMediaRecorderWeb?
getter/setter pair
recorderState → RecorderState
The current state of the Recorder
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeRecorder(FlutterSoundRecorderCallback callback) Future<void>
override
closeSession(FlutterSoundRecorderCallback aSession) → void
inherited
deleteRecord(FlutterSoundRecorderCallback callback, String path) Future<bool>
override
findSession(FlutterSoundRecorderCallback aSession) int
inherited
getRecordURL(FlutterSoundRecorderCallback callback, String path) Future<String>
override
getSampleRate(FlutterSoundRecorderCallback callback) int
override
getSession(int slotno) → FlutterSoundRecorderCallback?
inherited
getWebSession(FlutterSoundRecorderCallback callback) FlutterSoundRecorder?
isEncoderSupported(FlutterSoundRecorderCallback callback, {required Codec codec}) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openRecorder(FlutterSoundRecorderCallback callback, {required Level logLevel}) Future<void>
override
openSession(FlutterSoundRecorderCallback aSession) → void
inherited
pauseRecorder(FlutterSoundRecorderCallback callback) Future<void>
override
requestData(FlutterSoundRecorderCallback callback) → void
override
resetPlugin(FlutterSoundRecorderCallback callback) Future<void>?
override
resumeRecorder(FlutterSoundRecorderCallback callback) Future<void>
override
setLogLevel(FlutterSoundRecorderCallback callback, Level loglevel) Future<void>?
inherited
setSubscriptionDuration(FlutterSoundRecorderCallback callback, {Duration? duration}) Future<void>
override
startRecorder(FlutterSoundRecorderCallback callback, {String? path, Codec? codec, StreamSink<Uint8List>? toStream, StreamSink<List<Float32List>>? toStreamFloat32, StreamSink<List<Int16List>>? toStreamInt16, AudioSource? audioSource, Duration timeSlice = Duration.zero, int sampleRate = 16000, int numChannels = 1, int bitRate = 16000, int bufferSize = 8192, bool enableVoiceProcessing = false}) Future<void>
override
stopRecorder(FlutterSoundRecorderCallback callback) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the default instance of FlutterSoundRecorderPlatform.