SecTransformSetTransformAction(_:_:_:)
Changes the way that a transform deals with transform lifecycle behaviors.
Declaration
func SecTransformSetTransformAction(_ ref: SecTransformImplementationRef, _ action: CFString, _ newAction: @escaping SecTransformActionBlock) -> CFError?Parameters
- ref:
A custom transform.
- action:
The behavior to change. Valid values are Ksectransformactioncanexecute, Ksectransformactionstartingexecution, Ksectransformactionfinalize, or Ksectransformactionexternalizeextradata.
- newAction:
A Sectransformactionblock block that implements the behavior.
Return Value
An error on failure, or NULL on success. In Objective-C, call the CFRelease function to free the error’s memory when you are done with it.