Enumeration

PHAssetResourceType

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

Declaration

enum PHAssetResourceType : Int

Topics

Constants

case photo

The resource provides original photo data for its asset.

case video

The resource provides original video data for its asset.

case audio

The resource provides original audio data for its asset.

case alternatePhoto

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

case fullSizePhoto

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

case fullSizeVideo

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

case adjustmentData

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

case adjustmentBasePhoto

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

case pairedVideo

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

case fullSizePairedVideo

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

case adjustmentBasePairedVideo

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

Enumeration Cases

See Also

Examining an Asset Resource

var type: PHAssetResourceType

The relationship of this asset resource to its owning asset.

var assetLocalIdentifier: String

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

var uniformTypeIdentifier: String

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

var originalFilename: String

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