MonoMac.AudioToolbox.AudioSession Class
Interface to to control the audio context of your application

See Also: AudioSession Members

Syntax

public static class AudioSession

Remarks

You use the various AudioSession methods to control how the input and output are handled by the operating system, configure the recorder and speakers, control where the audio is played to, and where the audio is recorded from. AudioSession also provides a mechanism to start and stop using the audio system and to monitor changes to the audio system.

Both the initialization sequence and the use of some properties on AudioSession can throw an MonoMac.AudioToolbox.AudioSessionException.

Your application can use the AudioSession.AddListener(AudioSessionProperty, MonoMac.AudioToolbox.AudioSession.PropertyListener) method with the AudioInputAvailable value to monitor when the microphone becomes available.

Related content

Requirements

Namespace: MonoMac.AudioToolbox
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0