MiniAudioInputContextPlatformInterface class abstract

Abstract audio input context for configuring and capturing from a microphone.

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

configure(String deviceId, MiniAVAudioInfo format) Future<void>
Configure the audio input context with a device and format.
destroy() Future<void>
Destroy this audio input context and release resources.
getConfiguredFormat() Future<MiniAVAudioInfo>
Get the configured format.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startCapture(void onData(MiniAVBuffer buffer, Object? userData), {Object? userData}) Future<void>
Start audio input capture. onData is called for each audio buffer received.
stopCapture() Future<void>
Stop audio input capture.
toString() String
A string representation of this object.
inherited

Operators

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