MDCopyLabelsWithKind

Function MDCopyLabelsWithKind 

Source
pub unsafe extern "C-unwind" fn MDCopyLabelsWithKind(
    kind: Option<&CFString>,
) -> Option<CFRetained<CFArray>>
Available on crate feature MDLabel only.
Expand description

Copy the list of labels with the specified kind string.

Parameter kind: The kind string, or NULL to copy all labels.

Returns: A CFArrayRef containing all of the labels with the specified kind string, or NULL on failure.

ยงSafety

kind might not allow None.