SecTransformGetAttribute(_:_:)
Gets the current value of a transform attribute.
Declaration
func SecTransformGetAttribute(_ transformRef: SecTransform, _ key: CFString) -> CFTypeRef?Parameters
- transformRef:
The transform whose attribute value will be retrieved.
- key:
The name of the attribute to retrieve. See Transform Attributes for a list of valid keys.
Return Value
The value of an attribute. If this attribute is being set as the output of another transform and SecTransformExecute(_:_:) has not been called on the transform or if the attribute does not exists then NULL will be returned.
Discussion
This may be called after SecTransformExecute(_:_:).