SDK Reference · Method
getSelectedSRLanguageCode
Returns the last selected language code for a speech-recognition engine.
Declaration
public func getSelectedSRLanguageCode(
_ srEngine: String? = nil
) -> StringOverview
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.