Model Types
STTModelType
Supported STT model types for offline recognition.OnlineSTTModelType
Supported model types for streaming (online) recognition.Interfaces
SttEngine
Offline STT engine instance returned bycreateSTT().
StreamingSttEngine
Streaming STT engine instance returned bycreateStreamingSTT().
SttStream
Streaming recognition stream.SttRecognitionResult
Full recognition result from offline STT.StreamingSttResult
Partial or final result from streaming STT.SttRuntimeConfig
Runtime configuration for offline recognizer.Model-Specific Options
SttModelOptions
Model-specific options. Only the block for the loaded model type is applied.SttWhisperModelOptions
Options for Whisper models.SttSenseVoiceModelOptions
Options for SenseVoice models.SttCanaryModelOptions
Options for Canary models.SttFunAsrNanoModelOptions
Options for FunASR Nano models.Endpoint Detection
EndpointConfig
Endpoint detection configuration for streaming STT.EndpointRule
Single endpoint rule.Constants
STT_MODEL_TYPES
Runtime list of supported offline STT model types.ONLINE_STT_MODEL_TYPES
Runtime list of supported streaming STT model types.STT_HOTWORDS_MODEL_TYPES
Model types that support hotwords (contextual biasing).Utility Functions
sttSupportsHotwords()
Check if a model type supports hotwords.Example
See Also
- createSTT() - Create offline STT engine
- createStreamingSTT() - Create streaming STT engine
- Model Path Types - ModelPathConfig types