AUAudioUnitBusArray.AddObserver Method

Definition

Adds a key-value observer to every bus in the array.

[Foundation.Export("addObserverToAllBusses:forKeyPath:options:context:")]
public virtual void AddObserver (Foundation.NSObject observer, string keyPath, Foundation.NSKeyValueObservingOptions options, IntPtr context);
override this.AddObserver : Foundation.NSObject * string * Foundation.NSKeyValueObservingOptions * nativeint -> unit

Parameters

observer
NSObject

The KVO observer to add to all buses in the array.

keyPath
String

The object-relative keypath that identifies the property to observe.

options
NSKeyValueObservingOptions

The observing options for the observer.

context
IntPtr

nativeint

An object or value that is used to disambiguate observer calls.

Attributes

Applies to