---
title: kSpeechTextDoneCallBack
framework: applicationservices
role: symbol
role_heading: Global Variable
path: applicationservices/kspeechtextdonecallback
---

# kSpeechTextDoneCallBack

Set the callback function to be called when the Speech Synthesis Manager has finished processing speech being generated on the speech channel.

## Declaration

```swift
let kSpeechTextDoneCallBack: CFString
```

## Discussion

Discussion The value associated with this property is a CFNumber object whose value is a pointer to an application-defined text-done callback function, whose syntax is described in SpeechTextDoneProcPtr. Passing a CFNumber object that contains the value NULL disables the text-done callback function. This property works with the SetSpeechProperty(_:_:_:) function.
