Share via


AUParameterNode.CreateTokenByAddingParameterRecordingObserver Method

Definition

Adds a recording observer for the parameter and returns a token that developers can use to identify it.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public AudioUnit.AUParameterObserverToken CreateTokenByAddingParameterRecordingObserver(AudioUnit.AUParameterRecordingObserver observer);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.CreateTokenByAddingParameterRecordingObserver : AudioUnit.AUParameterRecordingObserver -> AudioUnit.AUParameterObserverToken

Parameters

observer
AUParameterRecordingObserver

The block that is called after the parameter changes.

Returns

A token that can be passed to the RemoveParameterObserver(AUParameterObserverToken) and SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType) methods.

Attributes

Applies to