Enumeration

PHAssetResourceType

Values identifying the relationship of an asset resource to its owning asset; used by the type property.

Declaration

typedef enum PHAssetResourceType : NSInteger {
    ...
} PHAssetResourceType;

Topics

Constants

PHAssetResourceTypePhoto

The resource provides original photo data for its asset.

PHAssetResourceTypeVideo

The resource provides original video data for its asset.

PHAssetResourceTypeAudio

The resource provides original audio data for its asset.

PHAssetResourceTypeAlternatePhoto

The resource provides photo data that is not the primary form of its asset.

PHAssetResourceTypeFullSizePhoto

The resource provides photo data at the highest available size and quality for its asset.

PHAssetResourceTypeFullSizeVideo

The resource provides video data at the highest available size and quality for its asset.

PHAssetResourceTypeAdjustmentData

The resource provides data for use in reconstructing recent edits to its asset.

PHAssetResourceTypeAdjustmentBasePhoto

The resource provides an unaltered version of its photo asset for use in for use in reconstructing recent edits.

PHAssetResourceTypePairedVideo

The resource provides the original video data component of a Live Photo asset.

PHAssetResourceTypeFullSizePairedVideo

The resource provides the current video data component of a Live Photo asset.

PHAssetResourceTypeAdjustmentBasePairedVideo

The resource provides an unaltered version of the video data for a Live Photo asset for use in reconstructing recent edits.

See Also

Examining an Asset Resource

type

The relationship of this asset resource to its owning asset.

assetLocalIdentifier

The unique identifier for the asset object this resource is associated with.

uniformTypeIdentifier

The uniform type identifier for the asset resource’s image or video data.

originalFilename

The original filename of the asset resource from when it was created or imported.