Class AudioSessionManager
- Namespace
- AudioDeviceLib.CoreAudioApi
- Assembly
- AudioDeviceLib.dll
Managed wrapper over the Core Audio IAudioSessionManager2 interface. Provides access to
the collection of audio sessions on an endpoint.
public sealed class AudioSessionManager : IDisposable
- Inheritance
-
AudioSessionManager
- Implements
- Inherited Members
Properties
Sessions
Gets the session snapshot, created on first access.
public SessionCollection Sessions { get; }
Property Value
Remarks
The snapshot stays fixed until Refresh is called. The manager owns it.
Methods
Dispose()
Disposes the owned session collection and its controls.
public void Dispose()
Refresh()
Replaces the snapshot with the endpoint's current sessions.
public void Refresh()
Remarks
Disposes the previous collection and its controls, including their notification tokens.