AUParameter.SetValue Method

Definition

Overloads

SetValue(Single, AUParameterObserverToken)

Sets the parameter to value.

SetValue(Single, IntPtr)
Obsolete.

Sets the parameter's value without notifying originator.

SetValue(Single, AUParameterObserverToken, UInt64)

Sets the parameter to the specified value, and preserves the initiating gesture time.

SetValue(Single, IntPtr, UInt64)
Obsolete.

Sets the parameter's value, without notifying originator, at the specified hostTime.

SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType)

Sets the parameter's value to value, with the specified hostTime and eventType.

SetValue(Single, AUParameterObserverToken)

Sets the parameter to value.

public void SetValue (float value, AudioUnit.AUParameterObserverToken originator);
member this.SetValue : single * AudioUnit.AUParameterObserverToken -> unit

Parameters

value
Single

The value to set.

originator
AUParameterObserverToken

The originator, whose notification should be skipped.

Applies to

SetValue(Single, IntPtr)

Caution

Use the 'AUParameterObserverToken' overload.

Sets the parameter's value without notifying originator.

[Foundation.Export("setValue:originator:")]
[System.Obsolete("Use the 'AUParameterObserverToken' overload.", false)]
public virtual void SetValue (float value, IntPtr originator);
abstract member SetValue : single * nativeint -> unit
override this.SetValue : single * nativeint -> unit

Parameters

value
Single

The value to set.

originator
IntPtr

nativeint

The originator, whose notification should be skipped.

Attributes

Applies to

SetValue(Single, AUParameterObserverToken, UInt64)

Sets the parameter to the specified value, and preserves the initiating gesture time.

public void SetValue (float value, AudioUnit.AUParameterObserverToken originator, ulong hostTime);
member this.SetValue : single * AudioUnit.AUParameterObserverToken * uint64 -> unit

Parameters

value
Single

The value to set.

originator
AUParameterObserverToken

The originator, whose notification should be skipped.

hostTime
UInt64

The host time of the initiating gesture.

Applies to

SetValue(Single, IntPtr, UInt64)

Caution

Use the 'AUParameterObserverToken' overload.

Sets the parameter's value, without notifying originator, at the specified hostTime.

[Foundation.Export("setValue:originator:atHostTime:")]
[System.Obsolete("Use the 'AUParameterObserverToken' overload.", false)]
public virtual void SetValue (float value, IntPtr originator, ulong hostTime);
abstract member SetValue : single * nativeint * uint64 -> unit
override this.SetValue : single * nativeint * uint64 -> unit

Parameters

value
Single

The value to set.

originator
IntPtr

nativeint

The originator, whose notification should be skipped.

hostTime
UInt64

The time to apply the change.

Attributes

Applies to

SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType)

Sets the parameter's value to value, with the specified hostTime and eventType.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public void SetValue (float value, AudioUnit.AUParameterObserverToken originator, ulong hostTime, AudioUnit.AUParameterAutomationEventType eventType);
member this.SetValue : single * AudioUnit.AUParameterObserverToken * uint64 * AudioUnit.AUParameterAutomationEventType -> unit

Parameters

value
Single
hostTime
UInt64
Attributes

Applies to