SpeechTilesAndamento Docs
Get started
SDK Reference · Type

STSREngineState

Represents the lifecycle/availability state of a speech-recognition engine.

Overview

This represents the recognition engine’s current lifecycle or availability state. It is distinct from a particular recognition result: an engine may change state independently of an application’s latest utterance.

public enum STSREngineState {
    case notValid
    case idle
    case starting
    case active
    case stopping
    case finishing
    case notAvailable
}

Use STMediaRunner.getSREngineState() to retrieve the current state. When the audio-recorder component has not been initialized, getSREngineState() returns .notValid.

Where this type is used

See Also