FlutterSoundRecorderPlatform class abstract
The interface that implementations of url_launcher must implement.
Platform implementations should extend this class rather than implement it as url_launcher
does not consider newly added methods to be breaking changes. Extending this class
(using extends
) ensures that the subclass will get the default implementation, while
platform implementations that implements
this interface will be broken by newly added
FlutterSoundPlatform
methods.
- Inheritance
-
- Object
- PlatformInterface
- FlutterSoundRecorderPlatform
- Implementers
Constructors
- FlutterSoundRecorderPlatform()
- Constructs a UrlLauncherPlatform.
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> -
closeSession(
FlutterSoundRecorderCallback aSession) → void -
deleteRecord(
FlutterSoundRecorderCallback callback, String path) → Future< bool?> -
findSession(
FlutterSoundRecorderCallback aSession) → int -
getRecordURL(
FlutterSoundRecorderCallback callback, String path) → Future< String?> -
getSession(
int slotno) → FlutterSoundRecorderCallback? -
isEncoderSupported(
FlutterSoundRecorderCallback callback, {required Codec codec}) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openRecorder(
FlutterSoundRecorderCallback callback, {required Level logLevel}) → Future< void> -
openSession(
FlutterSoundRecorderCallback aSession) → void -
pauseRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
resetPlugin(
FlutterSoundRecorderCallback callback) → Future< void> ? -
resumeRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
setLogLevel(
FlutterSoundRecorderCallback callback, Level loglevel) → Future< void> ? -
setSubscriptionDuration(
FlutterSoundRecorderCallback callback, {Duration? duration}) → Future< void> -
startRecorder(
FlutterSoundRecorderCallback callback, {String? path, int? sampleRate, int? numChannels, int? bitRate, int bufferSize = 8192, bool enableVoiceProcessing = false, Codec? codec, bool? toStream, AudioSource? audioSource}) → Future< void> -
stopRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterSoundRecorderPlatform
-
The default instance of FlutterSoundRecorderPlatform to use.
getter/setter pair