Platforms to show: All Mac Windows Linux Cross-Platform
PHObjectChangeDetailsMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
A PHObjectChangeDetailsMBS object provides detailed information about differences between two states of an asset or collection object—one that you previously obtained and an updated state that would result if you fetched that entity again. You observe changes via events in PHPhotoLibraryMBS object. When Photos notifies your observer of a change, you get change details by passing the object you’re interested in to the changeDetailsForObject method.
For an asset collection or collection list, a PHObjectChangeDetailsMBS object describe changes only to the collection’s properties. If you are instead interested in changes to the collection’s membership, fetch the collection’s contents and use the changeDetailsForFetchResult: method to track changes to the fetch result.
Needs macOS 10.13 or newer.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 5 properties
- property assetContentChanged as Boolean
- property Handle as Integer
- property objectAfterChanges as PHObjectMBS
- property objectBeforeChanges as PHObjectMBS
- property objectWasDeleted as Boolean
- method Constructor Private
- shared method available as boolean
This class has no sub classes.
Some methods using this class:
- PHChangeMBS.changeDetailsForObject(PHObject as PHObjectMBS) as PHObjectChangeDetailsMBS
The items on this page are in the following plugins: MBS Mac64bit Plugin.
PHLivePhotoRequestOptionsMBS - PHObjectMBS