---
title: startListening()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsspeechrecognizer/startlistening()
---

# startListening()

Tells the speech recognition engine to begin listening for commands.

## Declaration

```swift
func startListening()
```

## Discussion

Discussion When a command is recognized the message speechRecognizer(_:didRecognizeCommand:) is sent to the delegate.

## See Also

### Listening

- [stopListening()](appkit/nsspeechrecognizer/stoplistening().md)
