schemas/photos library

Apple's photos App Schemas, as typed annotations.

Annotate a class with an entity annotation, such as @PhotosAsset(...), and its fields with @PhotosAssetField.<member>.

Not adoptable: attributedSearch (no public definition in the SDK), destination (no public definition in the SDK), favoriteMemories (no public definition in the SDK), favoriteMemoriesAction (no public definition in the SDK), filterLibrary (no public definition in the SDK), hidePhotoFace (no public definition in the SDK), libraryViewMode (no public definition in the SDK), memory (no public definition in the SDK), moveAssetsToPersonalLibrary (no public definition in the SDK), moveAssetsToSharedLibrary (no public definition in the SDK), navigatePhotoFaces (no public definition in the SDK), openAsset (deprecated: Use .system.open instead), openDestination (no public definition in the SDK), openMemoryCreationView (no public definition in the SDK), search (deprecated: Use .system.searchInApp instead).

Classes

FixedPhotosAsset
A fixed photos.asset instance, for schemas that require one.
FixedPhotosRecognizedPerson
A fixed photos.recognizedPerson instance, for schemas that require one.
PhotosAlbum
Adopts Apple's photos.album schema ("Album", iOS 18+, macOS 15+).
PhotosAlbumField
Members of photos.album, used as field annotations: @PhotosAlbumField.name ….
PhotosAlbumSchema
Marks members of photos.album.
PhotosAlbumType
photos.albumType ("Album Type"), whose cases the app defines: put @PhotosAlbumType() on a Dart enum, and each of its values becomes a case Siri can use.
PhotosAsset
Adopts Apple's photos.asset schema ("Photo", iOS 27+, macOS 27+).
PhotosAssetField
Members of photos.asset, used as field annotations: @PhotosAssetField.creationDate ….
PhotosAssetSchema
Marks members of photos.asset.
PhotosAssetType
photos.assetType ("Photo Type"), whose cases the app defines: put @PhotosAssetType() on a Dart enum, and each of its values becomes a case Siri can use.
PhotosFilterType
photos.filterType ("Filter Type"), whose cases the app defines: put @PhotosFilterType() on a Dart enum, and each of its values becomes a case Siri can use.
PhotosRecognizedPerson
Adopts Apple's photos.recognizedPerson schema ("Person", iOS 18+, macOS 15+).
PhotosRecognizedPersonField
Members of photos.recognizedPerson, used as field annotations: @PhotosRecognizedPersonField.name ….
PhotosRecognizedPersonSchema
Marks members of photos.recognizedPerson.
PhotosRotationDirection
photos.rotationDirection ("Rotation Direction"), whose cases the app defines: put @PhotosRotationDirection() on a Dart enum, and each of its values becomes a case Siri can use.