Hi,
In implementing MDQuery which tracks file changes - I have noticed that when receiving the "kMDQueryUpdateRemovedItems" notification - the item path is null.
In order to track the file creation/update/removal life cycle - I need some common "thread". It seems like internally MDItem has a unique identifier field called "oid" - however it is not exposed through public API.
It seems like relying on the pointer is a bit of a "medieval" solution, so the question is - how do I get access to the "oid" please?
Thanks.
In implementing MDQuery which tracks file changes - I have noticed that when receiving the "kMDQueryUpdateRemovedItems" notification - the item path is null.
In order to track the file creation/update/removal life cycle - I need some common "thread". It seems like internally MDItem has a unique identifier field called "oid" - however it is not exposed through public API.
It seems like relying on the pointer is a bit of a "medieval" solution, so the question is - how do I get access to the "oid" please?
Thanks.