Compartilhar via


AUParameter.SetValue Método

Definição

Sobrecargas

SetValue(Single, AUParameterObserverToken)

Define o parâmetro como value.

SetValue(Single, IntPtr)
Obsoleto.

Define o valor do parâmetro sem notificar originator.

SetValue(Single, AUParameterObserverToken, UInt64)

Define o parâmetro como o valor especificado e preserva o tempo de gesto de início.

SetValue(Single, IntPtr, UInt64)
Obsoleto.

Define o valor do parâmetro, sem notificar originator, no especificado hostTime.

SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType)

Define o valor do parâmetro como value, com o especificado hostTime e eventType.

SetValue(Single, AUParameterObserverToken)

Define o parâmetro como value.

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

Parâmetros

value
Single

O valor a ser definido.

originator
AUParameterObserverToken

O originador, cuja notificação deve ser ignorada.

Aplica-se a

SetValue(Single, IntPtr)

Cuidado

Use the 'AUParameterObserverToken' overload.

Define o valor do parâmetro sem notificar 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

Parâmetros

value
Single

O valor a ser definido.

originator
IntPtr

nativeint

O originador, cuja notificação deve ser ignorada.

Atributos

Aplica-se a

SetValue(Single, AUParameterObserverToken, UInt64)

Define o parâmetro como o valor especificado e preserva o tempo de gesto de início.

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

Parâmetros

value
Single

O valor a ser definido.

originator
AUParameterObserverToken

O originador, cuja notificação deve ser ignorada.

hostTime
UInt64

A hora do host do gesto de início.

Aplica-se a

SetValue(Single, IntPtr, UInt64)

Cuidado

Use the 'AUParameterObserverToken' overload.

Define o valor do parâmetro, sem notificar originator, no especificado 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

Parâmetros

value
Single

O valor a ser definido.

originator
IntPtr

nativeint

O originador, cuja notificação deve ser ignorada.

hostTime
UInt64

O tempo para aplicar a alteração.

Atributos

Aplica-se a

SetValue(Single, AUParameterObserverToken, UInt64, AUParameterAutomationEventType)

Define o valor do parâmetro como value, com o especificado hostTime e 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

Parâmetros

value
Single
hostTime
UInt64
Atributos

Aplica-se a