kMDLabelBundleURL

Static kMDLabelBundleURL 

Source
pub unsafe static kMDLabelBundleURL: Option<&'static CFString>
Available on crate feature MDLabel only.
Expand description

This is the bundle URL for the label. Type is a CFURL. This attribute is read-only.

This is the date the the label content last changed. Type is a CFDate. This attribute is read-only, but its value will be altered by setting any of the writable attributes described below.

This is the localized name of the label. Type is a CFString.

This is the data that should be used to create an icon image source for the label. Pass this data to the ImageIO framework to create a CGImageSourceRef. To reset a label’s icon to its default image, set kMDLabelIconData to kCFNull. Type is a CFData.

This is the UUID of the icon image source for the label. Labels that share the same icon image source will have the same icon UUID. Type is a CFUUID. This attribute is read-only, but its value may be altered by setting the kMDLabelIconData attribute described above.

This attribute is true if the label kind specifies a mutually-exclusive set of labels. Type is a CFBoolean. This attribute is read-only.

This is the kind string for the label. The label kind is the name of the bundle the label is defined in. Type is a CFString. This attribute is read-only.

This attribute is optional and applicable only to labels with “Public” visibility. If it is present, then when the label is set on a file the file’s Finder color will be set to the specified value (0 - 7). If the label is later removed, the file’s Finder color will be reverted either to the color specified by the most-recently-set label with this attribute that remains set on the file, or to 0 (none). Type is a CFNumber. This attribute is ignored for unless the label’s visibility is “Public”.

This is the UUID of the label. Type is a CFUUID. This attribute is read-only.

This is a constant describing the label’s visibility, either “Public” (kMDPublicVisibility) or “Private” (kMDPrivateVisibility). Type is a CFString. This attribute is read-only.

See also Apple’s documentation