---
title: "speechRecognizer(_:availabilityDidChange:)"
framework: speech
role: symbol
role_heading: Instance Method
path: "speech/sfspeechrecognizerdelegate/speechrecognizer(_:availabilitydidchange:)"
---

# speechRecognizer(_:availabilityDidChange:)

Tells the delegate that the availability of its associated speech recognizer changed.

## Declaration

```swift
optional func speechRecognizer(_ speechRecognizer: SFSpeechRecognizer, availabilityDidChange available: Bool)
```

## Parameters

- `speechRecognizer`: The doc://com.apple.speech/documentation/Speech/SFSpeechRecognizer object whose availability changed.
- `available`: A Boolean value that indicates the new availability of the speech recognizer.
