Instance Property


The current state of the speech recognition task.


var state: SFSpeechRecognitionTaskState { get }


Check the value of this property to get the state of the in-progress speech recognition session. For valid values, see SFSpeechRecognitionTaskState.

See Also

Monitoring Recognition Progress

enum SFSpeechRecognitionTaskState

The state of the task associated with the recognition request.

var error: Error?

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