Called by the system when a specified audio queue property changes value.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
The custom data you’ve specified in the
inparameter of the
Queue Add Property Listener
The recording or playback audio queue that invoked the callback.
The ID of the property whose value changes you want to observe.
If you name your callback function
My, you would declare it like this:
Install this callback in an audio queue by calling the
Audio function. For example, say you want your application to be notified, after you call the
Audio function with the
in parameter set to
false, that audio has finished playing. Perform these steps: