elementValueDidChangeHandler
A block that the profile calls when an element’s value changes.
Declaration
var elementValueDidChangeHandler: ((any GCDevicePhysicalInput, any GCPhysicalInputElement) -> Void)? { get set }Mentioned in
Discussion
Use this property to get the latest state of the element. If multiple elements change, Game Controller invokes this block for each element that changes. The block’s parameters are:
- element
The element whose value changes.