Contents

ODRecordCopyDetails(_:_:_:)

Returns the values of a record’s attributes.

Declaration

func ODRecordCopyDetails(_ record: ODRecordRef!, _ attributes: CFArray!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFDictionary>!

Parameters

  • record:

    The record.

  • attributes:

    An array of attributes to return values for. Elements are of type CFStringRef or ODAttributeType. If NULL, all currently fetched values are returned.

  • error:

    An error reference for error details. Can be NULL.

Return Value

The attribute values of the record.

Discussion

The returned values are of type CFString or CFData, depending on the type of attribute. If inAttributes is not NULL and a requested attribute has not been fetched before, it is fetched in order to return its value.

See Also

Related Documentation

Working with Records