FlutterSoundRecorderWeb class
The web implementation of FlutterSoundRecorderPlatform
.
This class implements the package:FlutterSoundPlayerPlatform
functionality for the web.
- Inheritance
-
- Object
- PlatformInterface
- FlutterSoundRecorderPlatform
- FlutterSoundRecorderWeb
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
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, AudioFocus? focus, SessionCategory? category, SessionMode? mode, int? audioFlags, AudioDevice? device}) → Future< void> -
override
-
openSession(
FlutterSoundRecorderCallback aSession) → void -
inherited
-
pauseRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
override
-
resetPlugin(
FlutterSoundRecorderCallback callback) → Future< void> ? -
override
-
resumeRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
override
-
setAudioFocus(
FlutterSoundRecorderCallback callback, {AudioFocus? focus, SessionCategory? category, SessionMode? mode, int? audioFlags, AudioDevice? device}) → Future< void> -
override
-
setLogLevel(
FlutterSoundRecorderCallback callback, Level loglevel) → Future< void> ? -
inherited
-
setSubscriptionDuration(
FlutterSoundRecorderCallback callback, {Duration? duration}) → Future< void> -
override
-
startRecorder(
FlutterSoundRecorderCallback callback, {String? path, int? sampleRate, int? numChannels, int? bitRate, Codec? codec, bool? toStream, AudioSource? audioSource}) → 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
.