AIAudioProvider class abstract
Core interface for Audio capabilities.
Providers that support Audio must implement this interface natively or through separate endpoints (like OpenAI Whisper/TTS).
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
speechToText(
List< int> audioBytes, {String? mimeType, String? language}) → Future<String> - Transcribes spoken audio bytes into text.
-
textToSpeech(
String text, {String? voice}) → Future< List< int> > - Synthesizes spoken audio from text.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited