---
title: state
framework: speech
role: symbol
role_heading: Instance Property
path: speech/sfspeechrecognitiontask/state
---

# state

The current state of the speech recognition task.

## Declaration

```swift
var state: SFSpeechRecognitionTaskState { get }
```

## Discussion

Discussion 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

- [SFSpeechRecognitionTaskState](speech/sfspeechrecognitiontaskstate.md)
- [error](speech/sfspeechrecognitiontask/error.md)
