Adds a KVO observer for a given property on all busses in the array.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Audio
Toolbox
Declaration
func addObserver(toAllBusses observer: NSObject, forKeyPath keyPath: String, options: NSKey Value Observing Options = [], context: Unsafe Mutable Raw Pointer?)
Parameters
observer
The KVO observer.
keyPath
The property’s key path.
options
The KVO options.
context
The KVO context.