SpeechTilesAndamento Docs
Get started
SDK Reference · Method

getSelectedSRLanguageCode

Returns the last selected language code for a speech-recognition engine.

Declaration

public func getSelectedSRLanguageCode(
    _ srEngine: String? = nil
) -> String

Overview

When srEngine is nil, the method returns the selected language code for the active recognition engine. If the audio recorder is not initialized, it returns an empty string.

See Also