Edytuj

Udostępnij za pośrednictwem


AUParameterNode.CreateTokenByAddingParameterObserver Method

Definition

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.

Applies to