Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHAssetCollectionMBS class.

PHAssetCollectionMBS.approximateLocation as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A location representing those of all assets in the collection.

The Photos app automatically creates moments to group assets by time and location. A moment can contain photos from several locations in close proximity. In such cases, this property describes the general area containing the locations of all assets in the moment.
This property applies only to asset collections whose type is TypeMoment. For other asset collection types, this property’s value is nil.

We pass result, the CLLocationMBS object, as variant to avoid plugin dependencies.
(Read only property)

PHAssetCollectionMBS.assetCollectionSubtype as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The subtype of the asset collection.

Use subtypes to make minor distinctions between collections of the same type. For albums, for example, you might distinguish user-created albums from those synced from iPhoto. See Subtype constants for possible values.
(Read only property)

PHAssetCollectionMBS.assetCollectionType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The type of the asset collection, such as an album or a moment.

(Read only property)

PHAssetCollectionMBS.endDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The latest creation date among all assets in the asset collection.

This property applies only to asset collections whose type is TypeMoment. For other asset collection types, this property’s value is nil.
(Read only property)

PHAssetCollectionMBS.endDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The latest creation date among all assets in the asset collection.

This property applies only to asset collections whose type is TypeMoment. For other asset collection types, this property’s value is nil.
(Read only property)

PHAssetCollectionMBS.estimatedAssetCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The estimated number of assets in the asset collection.

This count may not match the current number of assets in the collection. To get the most recent count, fetch the collection’s assets with the fetchAssetsInAssetCollection method and read the count property of the fetch result.
If asset count information is not available for the collection, this property’s value is NSNotFound.
(Read only property)

PHAssetCollectionMBS.startDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The earliest creation date among all assets in the asset collection.

This property applies only to asset collections whose type is TypeMoment. For other asset collection types, this property’s value is nil.
(Read only property)

PHAssetCollectionMBS.startDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Photos MBS Mac64bit Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The earliest creation date among all assets in the asset collection.

This property applies only to asset collections whose type is TypeMoment. For other asset collection types, this property’s value is nil.
(Read only property)

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


The biggest plugin in space...