Crate objc2_photos

Source
Expand description

§Bindings to the PhotoKit framework

See Apple’s docs and the general docs on framework crates for more information.

This actually lives in the Photos framework, but PhotoKit is the name that people use to refer to it.

Structs§

PHAccessLevelPHPhotoLibrary
Apple’s documentation
PHAdjustmentDataPHAdjustmentData
Apple’s documentation
PHAssetPHAsset and PHObject
Apple’s documentation
PHAssetBurstSelectionTypePhotosTypes
Apple’s documentation
PHAssetChangeRequestPHAssetChangeRequest and PHChangeRequest
Apple’s documentation
PHAssetCollectionPHCollection and PHObject
Apple’s documentation
PHAssetCollectionChangeRequestPHAssetCollectionChangeRequest and PHChangeRequest
Apple’s documentation
PHAssetCollectionSubtypePhotosTypes
Apple’s documentation
PHAssetCollectionTypePhotosTypes
Apple’s documentation
PHAssetCreationRequestPHAssetChangeRequest and PHAssetCreationRequest and PHChangeRequest
Apple’s documentation
PHAssetEditOperationPhotosTypes
Apple’s documentation
PHAssetMediaSubtypePhotosTypes
Apple’s documentation
PHAssetMediaTypePhotosTypes
Apple’s documentation
PHAssetPlaybackStylePhotosTypes
Apple’s documentation
PHAssetResourcePHAssetResource
Apple’s documentation
PHAssetResourceCreationOptionsPHAssetCreationRequest
Apple’s documentation
PHAssetResourceManagerPHAssetResourceManager
Apple’s documentation
PHAssetResourceRequestOptionsPHAssetResourceManager
Apple’s documentation
PHAssetResourceTypePhotosTypes
Apple’s documentation
PHAssetSourceTypePhotosTypes
Apple’s documentation
PHAuthorizationStatusPHPhotoLibrary
Apple’s documentation
PHCachingImageManagerPHImageManager
Apple’s documentation
PHChangePHChange
Apple’s documentation
PHChangeRequestPHChangeRequest
Apple’s documentation
PHCloudIdentifierPHCloudIdentifier
Apple’s documentation
PHCloudIdentifierMappingPHCloudIdentifier
Contains the cloud identifier result from looking up a local identifier via cloudIdentifierMappingsForLocalIdentifiers,or an errorindicating why the lookup failed
PHCollectionPHCollection and PHObject
Apple’s documentation
PHCollectionEditOperationPhotosTypes
Apple’s documentation
PHCollectionListPHCollection and PHObject
Apple’s documentation
PHCollectionListChangeRequestPHChangeRequest and PHCollectionListChangeRequest
Apple’s documentation
PHCollectionListSubtypePhotosTypes
Apple’s documentation
PHCollectionListTypePhotosTypes
Apple’s documentation
PHContentEditingInputPHContentEditingInput
Apple’s documentation
PHContentEditingInputRequestOptionsPHAssetChangeRequest
Apple’s documentation
PHContentEditingOutputPHContentEditingOutput
Apple’s documentation
PHFetchOptionsPHFetchOptions
Apple’s documentation
PHFetchResultPHFetchResult
Apple’s documentation
PHFetchResultChangeDetailsPHChange
Apple’s documentation
PHImageContentModePhotosTypes
Apple’s documentation
PHImageManagerPHImageManager
Apple’s documentation
PHImageRequestOptionsPHImageManager
Apple’s documentation
PHImageRequestOptionsDeliveryModePHImageManager
Apple’s documentation
PHImageRequestOptionsResizeModePHImageManager
Apple’s documentation
PHImageRequestOptionsVersionPHImageManager
Apple’s documentation
PHLivePhotoPHLivePhoto
Apple’s documentation
PHLivePhotoEditingContextPHLivePhotoEditingContext
Apple’s documentation
PHLivePhotoEditingErrorCodePHLivePhotoEditingContext
Error code for Live Photo Editing errors (Deprecated)
PHLivePhotoFrameTypePHLivePhotoEditingContext
The type of frame in the Live Photo
PHLivePhotoRequestOptionsPHImageManager
Apple’s documentation
PHLocalIdentifierMappingPHCloudIdentifier
Contains the local identifier result from looking up a cloud identifier via localIdentifierMappingsForCloudIdentifiers,or an errorindicating why the lookup failed
PHObjectPHObject
Apple’s documentation
PHObjectChangeDetailsPHChange
Apple’s documentation
PHObjectPlaceholderPHObject
Apple’s documentation
PHObjectTypePhotosTypes
Apple’s documentation
PHPersistentChangePHPersistentChange
Apple’s documentation
PHPersistentChangeFetchResultPHPersistentChangeFetchResult
Apple’s documentation
PHPersistentChangeTokenPHPersistentChangeToken
Apple’s documentation
PHPersistentObjectChangeDetailsPHPersistentObjectChangeDetails
Apple’s documentation
PHPhotoLibraryPHPhotoLibrary
Apple’s documentation
PHPhotosErrorPHError
Apple’s documentation
PHProjectPHCollection and PHObject and PHProject
Apple’s documentation
PHProjectChangeRequestPHChangeRequest and PHProjectChangeRequest
Apple’s documentation
PHVideoRequestOptionsPHImageManager
Apple’s documentation
PHVideoRequestOptionsDeliveryModePHImageManager
Apple’s documentation
PHVideoRequestOptionsVersionPHImageManager
Apple’s documentation

Statics§

PHContentEditingInputCancelledKeyPHAssetChangeRequest
Apple’s documentation
PHContentEditingInputErrorKeyPHAssetChangeRequest
Apple’s documentation
PHContentEditingInputResultIsInCloudKeyPHAssetChangeRequest
Apple’s documentation
PHImageCancelledKeyPHImageManager
Apple’s documentation
PHImageErrorKeyPHImageManager
Apple’s documentation
PHImageManagerMaximumSizePHImageManager and objc2-core-foundation
Apple’s documentation
PHImageResultIsDegradedKeyPHImageManager
Apple’s documentation
PHImageResultIsInCloudKeyPHImageManager
Apple’s documentation
PHImageResultRequestIDKeyPHImageManager
Apple’s documentation
PHInvalidAssetResourceDataRequestIDPHAssetResourceManager
Apple’s documentation
PHInvalidImageRequestIDPHImageManager
Apple’s documentation
PHLivePhotoEditingErrorDomainPHLivePhotoEditingContext
The error domain for all Live Photo Editing errors (Deprecated).
PHLivePhotoInfoCancelledKeyPHLivePhoto
Apple’s documentation
PHLivePhotoInfoErrorKeyPHLivePhoto
These keys may be found in the info dictionary delivered to a live photo request result handler block.
PHLivePhotoInfoIsDegradedKeyPHLivePhoto
Apple’s documentation
PHLivePhotoRequestIDInvalidPHLivePhoto
Apple’s documentation
PHLivePhotoShouldRenderAtPlaybackTimePHLivePhotoEditingContext
Indicates whether processing should happen at playback time If set to NO (the default) the live photo will always be rendered before playback If set to YES, the editing context might still choose to render first for performance reasons This option is ignored by the saveLivePhotoToOutput method
PHLocalIdentifierNotFoundPHCloudIdentifier
DEPRECATED: If the local object cannot be resolved from a global identifier, PHLocalIdentifierNotFound is provided in that array slot.
PHLocalIdentifiersErrorKeyPHError
Array of NSString values representing local identifiers related to the specific error
PHPhotosErrorDomainPHError
Apple’s documentation

Traits§

PHLivePhotoFramePHLivePhotoEditingContext
Protocol that describes a single frame of a live photo
PHPhotoLibraryAvailabilityObserverPHPhotoLibrary
Apple’s documentation
PHPhotoLibraryChangeObserverPHPhotoLibrary
Apple’s documentation

Type Aliases§

PHAssetImageProgressHandlerPHImageManager and block2
Apple’s documentation
PHAssetResourceDataRequestIDPHAssetResourceManager
Apple’s documentation
PHAssetResourceProgressHandlerPHAssetResourceManager and block2
Apple’s documentation
PHAssetVideoProgressHandlerPHImageManager and block2
Apple’s documentation
PHContentEditingInputRequestIDPHAssetChangeRequest
Apple’s documentation
PHImageRequestIDPHImageManager
Apple’s documentation
PHLivePhotoEditingOptionPHLivePhotoEditingContext
Apple’s documentation
PHLivePhotoFrameProcessingBlockPHLivePhotoEditingContext and block2 and objc2-core-image
A block callback for processing frames of a live photo, including the still image
PHLivePhotoRequestIDPHLivePhoto
Apple’s documentation