Type Alias VTRAWProcessingParameterChangeHandler

Source
pub type VTRAWProcessingParameterChangeHandler = *mut Block<dyn Fn(*const CFArray)>;
Available on crate features VTRAWProcessingSession and block2 only.
Expand description

Block invoked when processing parameters change.

This block is called when available parameters or parameter values change without an explicit call to VTRAWProcessingSessionSetProcessingParameters. This is intended to allow the client to update any UI driven by these parameters.

Parameter newParameters: A CFArrayRef contaiing the new parameter details. This follows the same form as the array returned from VTRAWProcessingSessionCopyProcessingParameters.

See also Apple’s documentation