AudioWaveformsInterface class

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

checkPermission() Future<bool>
platform call to check microphone permission
getDecibel() Future<double?>
platform call to get decibel
getDuration(String key, int durationType) Future<int?>
platform call to get duration max/current
initRecorder(String? path, int encoder, int outputFormat, int sampleRate) Future<bool>
platform call to initialise the recorder. This method is only required for Android platform
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<bool?>
platform call to pause recording
pausePlayer(String key) Future<bool>
platform call to pause player
preparePlayer(String path, String key, [double? volume]) Future<bool>
platform call to prepare player
record(int audioFormat, int sampleRate, [String? path]) Future<bool>
platform call to start recording
removeMethodCallHandeler() → void
resume() Future<bool>
platform call to resume recording. This method is only required for Android platform
seekTo(String key, int progress) Future<bool>
platform call to seek audio at provided position
setMethodCallHandler() → void
setVolume(double volume, String key) Future<bool>
platform call to set volume
startPlayer(String key, FinishMode finishMode) Future<bool>
platform call to start player
stop() Future<String?>
platform call to stop recording
stopAllPlayers() Future<bool>
stopPlayer(String key) Future<bool>
platform call to stop player
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AudioWaveformsInterface
getter/setter pair