Platforms to show: All Mac Windows Linux Cross-Platform
PHChangeMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Photos provides PHChangeMBS objects to notify your app of changes to the assets and collections managed by the Photos app. To receive change information, implement the DidChange event in your PHPhotoLibraryMBS subclass.
After Photos provides you with a change object, you use its methods to get a change details object. Call the changeDetailsForObject or changeDetailsForFetchResult method, passing an asset or collection object you’ve previously fetched or a fetch result containing several such objects. The resulting PHObjectChangeDetailsMBS or PHFetchResultChangeDetailsMBS object describes any changes that have happened to the object or fetch result since you last fetched it.
- property Handle as Integer
- 3 methods
- method changeDetailsForFetchResult(FetchResult as PHFetchResultMBS) as PHFetchResultChangeDetailsMBS
- method changeDetailsForObject(PHObject as PHObjectMBS) as PHObjectChangeDetailsMBS
- method Constructor
- shared method available as boolean
This class has no sub classes.
Some events using this class:
- PHPhotoLibraryMBS.DidChange(changes as PHChangeMBS)
Some examples using this class:
The items on this page are in the following plugins: MBS Mac64bit Plugin.
PHCachingImageManagerMBS - PHChangeRequestMBS