AudioSession.RemoveListener Method

Definition

Removes the specified listener from the list of monitored audio session properties.

public static void RemoveListener (AudioToolbox.AudioSessionProperty property, AudioToolbox.AudioSession.PropertyListener listener);
static member RemoveListener : AudioToolbox.AudioSessionProperty * AudioToolbox.AudioSession.PropertyListener -> unit

Parameters

property
AudioSessionProperty

The monitored property.

listener
AudioSession.PropertyListener

The Callback that was specified in the call to AddListener.

Remarks

Properties to monitor are registered with the AddListener method.

Applies to