Gets the type identifier for Search Kit document iterators.
- macOS 10.3+
- Core Services
A CFTypeID object containing the type identifier for the SKIndexDocumentIterator opaque type.
Search Kit represents document iterators with the
SKIndex opaque type. If your code needs to determine whether a particular data type is a document iterator, you can use this function along with the
CFGet function and perform a comparison.
Search Kit is thread-safe. You can use separate indexing and searching threads. Your application is responsible for ensuring that no more than one process is open at a time for writing to an index.
Never hard-code the document iterator type ID because it can change from one release of macOS to another.