MethodChannelFlutterAudioToolkit class

An implementation of FlutterAudioToolkitPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyzeAudioNoise({required String inputPath, double sensitivityLevel = 0.5, ProgressCallback? onProgress}) Future<NoiseDetectionResult>
Analyzes an audio file for noise detection and quality assessment
override
configureAudioSession({Map<String, dynamic>? configuration}) Future<bool>
Configures the audio session for optimal audio processing
override
convertAudio({required String inputPath, required String outputPath, required AudioFormat format, int bitRate = 128, int sampleRate = 44100, ProgressCallback? onProgress}) Future<ConversionResult>
Converts an audio file to the specified format
override
downloadAudioFromUrl({required String url, required String localPath, ProgressCallback? onDownloadProgress}) Future<String>
Downloads and processes audio from a network URL
override
extractWaveform({required String inputPath, int samplesPerSecond = 100, ProgressCallback? onProgress}) Future<WaveformData>
Extracts waveform amplitude data from an audio file
override
getAudioInfo(String inputPath) Future<AudioInfo>
Gets comprehensive information about an audio file
override
getPlatformVersion() Future<String?>
Gets the platform version string
override
isFormatSupported(String inputPath) Future<bool>
Checks if the given audio format is supported for processing
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trimAudio({required String inputPath, required String outputPath, required int startTimeMs, required int endTimeMs, required AudioFormat format, int bitRate = 128, int sampleRate = 44100, ProgressCallback? onProgress}) Future<ConversionResult>
Trims an audio file to the specified time range
override

Operators

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