---
title: PHAssetCollectionType
framework: photos
role: symbol
role_heading: Enumeration
path: photos/phassetcollectiontype
---

# PHAssetCollectionType

Major distinctions between kinds of asset collections, used by the assetCollectionType property and the fetchAssetCollectionsContaining(_:with:options:) and fetchAssetCollections(with:subtype:options:) methods.

## Declaration

```swift
enum PHAssetCollectionType
```

## Topics

### Constants

- [PHAssetCollectionType.album](photos/phassetcollectiontype/album.md)
- [PHAssetCollectionType.smartAlbum](photos/phassetcollectiontype/smartalbum.md)
- [PHAssetCollectionType.moment](photos/phassetcollectiontype/moment.md)

### Initializers

- [init(rawValue:)](photos/phassetcollectiontype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Reading Asset Collection Metadata

- [assetCollectionType](photos/phassetcollection/assetcollectiontype.md)
- [assetCollectionSubtype](photos/phassetcollection/assetcollectionsubtype.md)
- [PHAssetCollectionSubtype](photos/phassetcollectionsubtype.md)
- [estimatedAssetCount](photos/phassetcollection/estimatedassetcount.md)
- [startDate](photos/phassetcollection/startdate.md)
- [endDate](photos/phassetcollection/enddate.md)
- [approximateLocation](photos/phassetcollection/approximatelocation.md)
- [localizedLocationNames](photos/phassetcollection/localizedlocationnames.md)
