Contents

groupID

An identifier associated with a metadata object used to group it with other metadata objects belonging to a common parent.

Declaration

var groupID: Int { get }

Discussion

When presented with a collection of AVMetadataObject instances of different types, you may use the objects’ groupID to combine them into groups. For example, a human body and face belonging to the same person have the same groupID. If an object’s groupID property is set to -1, it is invalid. When set to a value of >=0, it is unique across all object groups.

See Also

Inspecting the metadata