FlutterAudioToolkitWeb class
Web implementation of FlutterAudioToolkitPlatform
Provides limited audio processing capabilities for web platform. Some features are not available due to browser security and API limitations.
- Inheritance
-
- Object
- PlatformInterface
- FlutterAudioToolkitPlatform
- FlutterAudioToolkitWeb
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
-
analyzeAudioNoise(
{required String inputPath, double sensitivityLevel = 0.5, ProgressCallback? onProgress}) → Future< NoiseDetectionResult> -
Analyzes an audio file for noise detection and quality assessment
inherited
-
configureAudioSession(
{Map< String, dynamic> ? configuration}) → Future<bool> -
Configures the audio session for optimal audio processing
inherited
-
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
inherited
-
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
Static Methods
-
registerWith(
Registrar registrar) → void - Registers this class as the platform implementation for web.