Platforms to show: All Mac Windows Linux Cross-Platform

PHProjectMBS class

Super class: PHAssetCollectionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A representation of a Photos app project extension.

This class represents the project when extended from macOS Photos. Projects can have the following types:

  • Book
  • Calendar
  • Card
  • Prints
  • Slideshow
  • Wall decor

Users create projects by selecting one or more assets, right-clicking the selection, and grouping the assets, much like an album collection. Your app treats the project as a separate entity, represented as a PHProject.
Subclass of the PHAssetCollectionMBS class.

Super class PHAssetCollectionMBS

SubTypes

Constant Value Description
SubtypeAlbumCloudShared 101 An iCloud Shared Photo Stream.
SubtypeAlbumImported 6 An album imported from a camera or external storage.
SubtypeAlbumMyPhotoStream 100 The user’s personal iCloud Photo Stream.
SubtypeAlbumRegular 2 An album created in the Photos app.
SubtypeAlbumSyncedAlbum 5 An album synced to the device from iPhoto.
SubtypeAlbumSyncedEvent 3 An Event synced to the device from iPhoto.
SubtypeAlbumSyncedFaces 4 A Faces group synced to the device from iPhoto.
SubtypeAny -1 A bit mask representing all possible subtypes.
SubtypeSmartAlbumAllHidden 205 A smart album that groups all assets hidden from the Moments view in the Photos app.
SubtypeSmartAlbumAnimated 214 A smart album that groups all image animation assets.
SubtypeSmartAlbumBursts 207 A smart album that groups all burst photo sequences in the photo library.
SubtypeSmartAlbumDepthEffect 212 A smart album that groups all images captured using the Depth Effect camera mode on compatible devices.
SubtypeSmartAlbumFavorites 203 A smart album that groups all assets that the user has marked as favorites.
SubtypeSmartAlbumGeneric 200 A smart album of no more specific subtype.
SubtypeSmartAlbumLivePhotos 213 A smart album that groups all Live Photo assets.
SubtypeSmartAlbumLongExposures 215 A smart album that groups all Live Photo assets where the Long Exposure variation is enabled.
SubtypeSmartAlbumPanoramas 201 A smart album that groups all panorama photos in the photo library.
SubtypeSmartAlbumRecentlyAdded 206 A smart album that groups assets that were recently added to the photo library.
SubtypeSmartAlbumScreenshots 211 A smart album that groups all images captured using the device’s screenshot function.
SubtypeSmartAlbumSelfPortraits 210 A smart album that groups all photos and videos captured using the device’s front-facing camera.
SubtypeSmartAlbumSlomoVideos 208 A smart album that groups all Slow-Mo videos in the photo library.
SubtypeSmartAlbumTimelapses 204 A smart album that groups all time-lapse videos in the photo library.
SubtypeSmartAlbumUnableToUpload 216 Unable to upload album.
SubtypeSmartAlbumUserLibrary 209 A smart album that groups all assets that originate in the user’s own library (as opposed to assets from iCloud Shared Albums).
SubtypeSmartAlbumVideos 202 A smart album that groups all video assets in the photo library.

Types

Constant Value Description
TypeAlbum 1 An album in the Photos app.
TypeMoment 3 A moment in the Photos app. Deprecated by Apple.
TypeSmartAlbum 2 A smart album whose contents update dynamically.

Super class PHCollectionMBS

Edit Operations

Constant Value Description
EditOperationAddContent 3 The collection supports adding items that already exist elsewhere in the photo library.
EditOperationCreateContent 4 The collection supports creating new items.
EditOperationDelete 6 The collection itself can be deleted.
EditOperationDeleteContent 1 The collection supports deleting the items it contains.
EditOperationRearrangeContent 5 The collection supports reordering the arrangement of items it contains.
EditOperationRemoveContent 2 The collection supports removing the items it contains.
EditOperationRename 7 The collection itself can be renamed.

Super class PHObjectMBS

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS Mac64bit Plugin.


PHProjectChangeRequestMBS   -   PHVideoRequestOptionsMBS


The biggest plugin in space...