Contents

valueDidChangeHandler

The block that the profile calls when an element’s value changes.

Declaration

var valueDidChangeHandler: ((any GCPhysicalInputElement, any GCLinearInput, Float) -> Void)? { get set }

Discussion

The block’s parameters are:

element

The element whose value changed.

input

The input object that changed.

value

The value of the input at the time the input object calls this handler.

See Also

Getting the value