Function

ABCopyRecordTypeFromUniqueId(_:_:)

Returns the type name of the record that matches a given unique ID.

Declaration

func ABCopyRecordTypeFromUniqueId(_ addressBook: ABAddressBookRef!, _ uniqueId: CFString!) -> Unmanaged<CFString>!

Parameters

addressBook

The address book for the logged-in user.

uniqueId

A unique ID for the record. If this is NULL, this function raises an exception.

Return Value

A string with the name of the type for the record that matches the given unique ID. You are responsible for releasing this object.