Instance Method

value(from:)

Converts a string into a parameter value.

Declaration

func value(from string: String) -> AUValue

Parameters

string

The string representation of a parameter value.

Return Value

The parameter value obtained from the string.

See Also

Managing Parameter Values

var value: AUValue

The parameter’s current value.

func setValue(AUValue, originator: AUParameterObserverToken?)

Sets the parameter’s value, avoiding redundant notifications to the originator.

func setValue(AUValue, originator: AUParameterObserverToken?, atHostTime: UInt64)

Sets the parameter’s value, preserving the host time of the gesture that initiated the change.

func string(fromValue: UnsafePointer<AUValue>?) -> String

Gets the string representation of a parameter value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software