The state of the task associated with the recognition request.
SDKs
- iOS 10.0+
- macOS 10.15+
- Mac Catalyst 13.0+
Framework
- Speech
Declaration
typedef enum SFSpeechRecognitionTaskState : NSInteger {
...
} SFSpeechRecognitionTaskState;
The state of the task associated with the recognition request.
SDKs
Framework
typedef enum SFSpeechRecognitionTaskState : NSInteger {
...
} SFSpeechRecognitionTaskState;
SFSpeech Recognition Task State Canceling
Delivery of recognition results has finished, but audio recording may be ongoing.
SFSpeech Recognition Task State Completed
Delivery of recognition requests has finished and audio recording has stopped.
SFSpeech Recognition Task State Finishing
Audio recording has stopped, but delivery of recognition results may continue.
SFSpeech Recognition Task State Running
Speech recognition (potentially including audio recording) is in progress.
SFSpeech Recognition Task State Starting
Speech recognition (potentially including audio recording) has not yet started.