Enumeration

PHAsset.PlaybackStyle

An enumeration of asset playback styles that dictate how to present an asset to the user.

Declaration

enum PlaybackStyle : Int

Topics

Playback Styles

case unsupported

An enumeration indicating that the asset has an unsupported or undefined media playback type.

case image

An enumeration indicating that the asset should be displayed as a still image.

case imageAnimated

An enumeration indicating that the asset should be displayed as an animated image.

case livePhoto

An enumeration indicating that the asset should be displayed as a Live Photo.

case video

An enumeration indicating that the asset should be displayed as a video.

case videoLooping

An enumeration indicating that the asset should be displayed as a looping video.

See Also

Displaying an Asset

var playbackStyle: PHAsset.PlaybackStyle

An enumerated value that describes how to present an asset to the user.