state
The current state of the speech recognition task.
Declaration
var state: SFSpeechRecognitionTaskState { get }Discussion
Check the value of this property to get the state of the in-progress speech recognition session. For valid values, see SFSpeechRecognitionTaskState.