AudioQueue.AddListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use this method to track changes to the audio queue properties.
public AudioToolbox.AudioQueueStatus AddListener (AudioToolbox.AudioQueueProperty property, AudioToolbox.AudioQueue.AudioQueuePropertyChanged callback);
member this.AddListener : AudioToolbox.AudioQueueProperty * AudioToolbox.AudioQueue.AudioQueuePropertyChanged -> AudioToolbox.AudioQueueStatus
Parameters
- property
- AudioQueueProperty
ID of the property to listen to.
- callback
- AudioQueue.AudioQueuePropertyChanged
The method to invoke when the specified AudioQueue property changes.
Returns
Status code.