SpeechTilesAndamento Docs
Get started
SDK Reference · Method

initializeAudioRecorder

Initializes the audio-recorder component used for audio recording and speech recognition.

Declaration

public func initializeAudioRecorder() -> STResult

Overview

Call this method before using STMediaRunner operations that require audio capture or speech recognition.

If the recorder is already initialized, the method returns .success. When a recorder is created, STMediaRunner applies the configured component log levels and current background-audio setting before initializing it.

Return value

Returns .success when the recorder is available. Otherwise returns the result produced by recorder initialization.

See Also