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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software