PMDarwinAssetCollectionSubtype enum

See document: https://developer.apple.com/documentation/photokit/phassetcollectionsubtype

The define of the subtype of the collection.

typedef NS_ENUM(NSInteger, PHAssetCollectionSubtype) {

    // PHAssetCollectionTypeAlbum regular subtypes
    PHAssetCollectionSubtypeAlbumRegular         = 2,
    PHAssetCollectionSubtypeAlbumSyncedEvent     = 3,
    PHAssetCollectionSubtypeAlbumSyncedFaces     = 4,
    PHAssetCollectionSubtypeAlbumSyncedAlbum     = 5,
    PHAssetCollectionSubtypeAlbumImported        = 6,

    // PHAssetCollectionTypeAlbum shared subtypes
    PHAssetCollectionSubtypeAlbumMyPhotoStream   = 100,
    PHAssetCollectionSubtypeAlbumCloudShared     = 101,

    // PHAssetCollectionTypeSmartAlbum subtypes
    PHAssetCollectionSubtypeSmartAlbumGeneric    = 200,
    PHAssetCollectionSubtypeSmartAlbumPanoramas  = 201,
    PHAssetCollectionSubtypeSmartAlbumVideos     = 202,
    PHAssetCollectionSubtypeSmartAlbumFavorites  = 203,
    PHAssetCollectionSubtypeSmartAlbumTimelapses = 204,
    PHAssetCollectionSubtypeSmartAlbumAllHidden  = 205,
    PHAssetCollectionSubtypeSmartAlbumRecentlyAdded = 206,
    PHAssetCollectionSubtypeSmartAlbumBursts     = 207,
    PHAssetCollectionSubtypeSmartAlbumSlomoVideos = 208,
    PHAssetCollectionSubtypeSmartAlbumUserLibrary = 209,
    PHAssetCollectionSubtypeSmartAlbumSelfPortraits API_AVAILABLE(ios(9)) = 210,
    PHAssetCollectionSubtypeSmartAlbumScreenshots API_AVAILABLE(ios(9)) = 211,
    PHAssetCollectionSubtypeSmartAlbumDepthEffect API_AVAILABLE(macos(10.13), ios(10.2), tvos(10.1)) = 212,
    PHAssetCollectionSubtypeSmartAlbumLivePhotos API_AVAILABLE(macos(10.13), ios(10.3), tvos(10.2)) = 213,
    PHAssetCollectionSubtypeSmartAlbumAnimated API_AVAILABLE(macos(10.15), ios(11), tvos(11)) = 214,
    PHAssetCollectionSubtypeSmartAlbumLongExposures API_AVAILABLE(macos(10.15), ios(11), tvos(11)) = 215,
    PHAssetCollectionSubtypeSmartAlbumUnableToUpload API_AVAILABLE(macos(10.15), ios(13), tvos(13)) = 216,
    PHAssetCollectionSubtypeSmartAlbumRAW API_AVAILABLE(macos(12), ios(15), tvos(15)) = 217,
    PHAssetCollectionSubtypeSmartAlbumCinematic API_AVAILABLE(macos(12), ios(15), tvos(15)) = 218,


    // Used for fetching, if you don't care about the exact subtype
    PHAssetCollectionSubtypeAny = NSIntegerMax
};
Inheritance
Available extensions

Values

albumRegular → const PMDarwinAssetCollectionSubtype
albumSyncedEvent → const PMDarwinAssetCollectionSubtype
albumSyncedFaces → const PMDarwinAssetCollectionSubtype
albumSyncedAlbum → const PMDarwinAssetCollectionSubtype
albumImported → const PMDarwinAssetCollectionSubtype
albumMyPhotoStream → const PMDarwinAssetCollectionSubtype
albumCloudShared → const PMDarwinAssetCollectionSubtype
smartAlbumGeneric → const PMDarwinAssetCollectionSubtype
smartAlbumPanoramas → const PMDarwinAssetCollectionSubtype
smartAlbumVideos → const PMDarwinAssetCollectionSubtype
smartAlbumFavorites → const PMDarwinAssetCollectionSubtype
smartAlbumTimelapses → const PMDarwinAssetCollectionSubtype
smartAlbumAllHidden → const PMDarwinAssetCollectionSubtype
smartAlbumRecentlyAdded → const PMDarwinAssetCollectionSubtype
smartAlbumBursts → const PMDarwinAssetCollectionSubtype
smartAlbumSlomoVideos → const PMDarwinAssetCollectionSubtype
smartAlbumUserLibrary → const PMDarwinAssetCollectionSubtype
smartAlbumSelfPortraits → const PMDarwinAssetCollectionSubtype
smartAlbumScreenshots → const PMDarwinAssetCollectionSubtype
smartAlbumDepthEffect → const PMDarwinAssetCollectionSubtype
smartAlbumLivePhotos → const PMDarwinAssetCollectionSubtype
smartAlbumAnimated → const PMDarwinAssetCollectionSubtype
smartAlbumLongExposures → const PMDarwinAssetCollectionSubtype
smartAlbumUnableToUpload → const PMDarwinAssetCollectionSubtype
smartAlbumRAW → const PMDarwinAssetCollectionSubtype
smartAlbumCinematic → const PMDarwinAssetCollectionSubtype
any → const PMDarwinAssetCollectionSubtype

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PMDarwinAssetCollectionSubtype>
A constant List of the values in this enum, in order of their declaration.