|
Agents 1.4.0
Edge AI Agents SDK
|
Interface for the STT Engine. Pure virtual class to enforce ABI boundaries. More...
#include <stt_service.h>
Public Member Functions | |
| virtual bool | initialize (const SttConfig &config)=0 |
| Initialize the STT service with the given configuration. | |
| virtual void | shutdown ()=0 |
| Shutdown the STT service. | |
| virtual void | startListening ()=0 |
| Start listening for audio input. | |
| virtual void | stopListening ()=0 |
| Stop listening for audio input. | |
| virtual void | setCallbacks (const SttCallbacks &cb)=0 |
| Set the STT event callbacks. | |
Static Public Member Functions | |
| static std::unique_ptr< ISttService > | create () |
| Factory method to create an instance of the STT service. | |
Interface for the STT Engine. Pure virtual class to enforce ABI boundaries.
|
static |
Factory method to create an instance of the STT service.
|
pure virtual |
Initialize the STT service with the given configuration.
| config | The STT configuration |
|
pure virtual |
Set the STT event callbacks.
| cb | The STT callbacks |