AUParameterNode.CreateTokenByAddingParameterObserver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a observer for the parameter and returns a token that developers can use to identify it.
public AudioUnit.AUParameterObserverToken CreateTokenByAddingParameterObserver (AudioUnit.AUParameterObserver observer);
member this.CreateTokenByAddingParameterObserver : AudioUnit.AUParameterObserver -> AudioUnit.AUParameterObserverToken
Parameters
- observer
- AUParameterObserver
The block that is called after the parameter changes.
Returns
A token that can be passed to the M:RemoveParameterObserver* and SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType) methods.