SecTransformGetAttribute

Function SecTransformGetAttribute 

Source
pub unsafe extern "C-unwind" fn SecTransformGetAttribute(
    transform_ref: &SecTransform,
    key: &CFString,
) -> Option<CFRetained<CFType>>
๐Ÿ‘ŽDeprecated: SecTransform is no longer supported
Available on crate feature SecTransform only.
Expand description

Get the current value of a transform attribute.

Parameter transformRef: The transform whose attribute value will be retrieved.

Parameter key: The name of the attribute to retrieve.

Returns: 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.

This may be called after SecTransformExecute.

ยงSafety

transform_ref should be of the correct type.