ASRState
Represents the various states of an Automatic Speech Recognition (ASR) engine.
This sealed interface defines a finite set of possible states that describe the lifecycle and result of a speech recognition session. It is intended to be used with reactive streams (e.g. StateFlow) to observe and respond to recognition state changes.
Types
Link copied to clipboard
Indicates that the recognition was interrupted unexpectedly (e.g., by external factors such as app lifecycle events).
Link copied to clipboard
Indicates that the recognition session was interrupted due to a timeout.
Link copied to clipboard
Indicates that the user has finished speaking and the engine is now waiting for the final recognition result.