Enumeration

SFSpeechRecognitionTaskState

The state of the task associated with the recognition request.

Declaration

typedef enum SFSpeechRecognitionTaskState : NSInteger {
    ...
} SFSpeechRecognitionTaskState;

Topics

Constants

SFSpeechRecognitionTaskStateCanceling

Delivery of recognition results has finished, but audio recording may be ongoing.

SFSpeechRecognitionTaskStateCompleted

Delivery of recognition requests has finished and audio recording has stopped.

SFSpeechRecognitionTaskStateFinishing

Audio recording has stopped, but delivery of recognition results may continue.

SFSpeechRecognitionTaskStateRunning

Speech recognition (potentially including audio recording) is in progress.

SFSpeechRecognitionTaskStateStarting

Speech recognition (potentially including audio recording) has not yet started.

See Also

Monitoring Recognition Progress

state

The current state of the speech recognition task.

error

An error object that specifies the error that occurred during a speech recognition task.