MethodChannelFlutterSoundRecorder class
An implementation of UrlLauncherPlatform
that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterSoundRecorderPlatform
- MethodChannelFlutterSoundRecorder
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
-
channelMethodCallHandler(
MethodCall call) → Future? -
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
-
invokeMethodBool(
FlutterSoundRecorderCallback callback, String methodName, Map< String, dynamic> call) → Future<bool> -
invokeMethodInt(
FlutterSoundRecorderCallback callback, String methodName, Map< String, dynamic> call) → Future<int?> -
invokeMethodString(
FlutterSoundRecorderCallback callback, String methodName, Map< String, dynamic> call) → Future<String?> -
invokeMethodVoid(
FlutterSoundRecorderCallback callback, String methodName, Map< String, dynamic> call) → Future<void> -
isEncoderSupported(
FlutterSoundRecorderCallback callback, {Codec codec = Codec.defaultCodec}) → 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
-
resetPlugin(
FlutterSoundRecorderCallback callback) → Future< void> ? -
override
-
resumeRecorder(
FlutterSoundRecorderCallback callback) → Future< void> -
override
-
setLogLevel(
FlutterSoundRecorderCallback callback, Level logLevel) → Future< void> ? -
override
-
setSubscriptionDuration(
FlutterSoundRecorderCallback callback, {Duration? duration}) → Future< void> -
override
-
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> -
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