Table of Contents

Class PropertyListenerHandle

Namespace
NAudio.MacOS.CoreAudio
Assembly
NAudio.MacOS.dll

Provides an object that provides the property listener to managed clients.
Each managed client that uses this class must dispose it's exposed listener after usage by using the provided Dispose() method.

public sealed class PropertyListenerHandle : IDisposable
Inheritance
PropertyListenerHandle
Implements
Inherited Members

Properties

OriginatingObject

Gets the AudioObject instance where this property listener handle was created from.

public AudioObject OriginatingObject { get; }

Property Value

AudioObject

Methods

Dispose()

Frees this PropertyListenerHandle instance.
Thread-safe.

public void Dispose()

Remarks

Note that instances of this class retain a shared ID of the listener that needs to be disposed of.
If you lose access to the instance, that means that you leak that registration along with the native property listener registration.

Events

Event

Event that fires when the property attached to this event changes state.

public event AudioObjectPropertyListenerDelegate Event

Event Type

AudioObjectPropertyListenerDelegate