AudioQueue.AddListener Method

Definition

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.

Applies to