---
title: PHAssetMediaSubtype
framework: photos
role: symbol
role_heading: Structure
path: photos/phassetmediasubtype
---

# PHAssetMediaSubtype

Constants identifying specific variations of asset media, such as panorama or screenshot photos, and time-lapse or high-frame-rate video.

## Declaration

```swift
struct PHAssetMediaSubtype
```

## Overview

Overview You use these constants with the PHAsset and PHContentEditingInput classes to fetch specific types of assets or to identify an asset being edited. Media subtypes are OptionSet values, so you can combine them using set literal syntax to test for multiple subtypes.

## Topics

### Initializers

- [init(rawValue:)](photos/phassetmediasubtype/init(rawvalue:).md)

### Media Subtypes

- [photoPanorama](photos/phassetmediasubtype/photopanorama.md)
- [photoHDR](photos/phassetmediasubtype/photohdr.md)
- [photoScreenshot](photos/phassetmediasubtype/photoscreenshot.md)
- [photoLive](photos/phassetmediasubtype/photolive.md)
- [videoCinematic](photos/phassetmediasubtype/videocinematic.md)
- [videoStreamed](photos/phassetmediasubtype/videostreamed.md)
- [videoHighFrameRate](photos/phassetmediasubtype/videohighframerate.md)
- [videoTimelapse](photos/phassetmediasubtype/videotimelapse.md)
- [photoDepthEffect](photos/phassetmediasubtype/photodeptheffect.md)

### Type Properties

- [photoAnimation](photos/phassetmediasubtype/photoanimation.md)
- [spatialMedia](photos/phassetmediasubtype/spatialmedia.md)
- [videoScreenRecording](photos/phassetmediasubtype/videoscreenrecording.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Reading Asset Metadata

- [contentType](photos/phasset/contenttype.md)
- [mediaType](photos/phasset/mediatype.md)
- [PHAssetMediaType](photos/phassetmediatype.md)
- [mediaSubtypes](photos/phasset/mediasubtypes.md)
- [sourceType](photos/phasset/sourcetype.md)
- [PHAssetSourceType](photos/phassetsourcetype.md)
- [pixelWidth](photos/phasset/pixelwidth.md)
- [pixelHeight](photos/phasset/pixelheight.md)
- [addedDate](photos/phasset/addeddate.md)
- [creationDate](photos/phasset/creationdate.md)
- [modificationDate](photos/phasset/modificationdate.md)
- [location](photos/phasset/location.md)
- [duration](photos/phasset/duration.md)
- [isFavorite](photos/phasset/isfavorite.md)
- [isHidden](photos/phasset/ishidden.md)
