playbackVariation
The Live Photo playback variation for the asset.
Declaration
var playbackVariation: PHAsset.PlaybackVariation { get }Discussion
Use this value to determine whether a Live Photo plays back as a Long Exposure, Mirror (Bounce), or Autoloop (Loop):
PHAssetPlaybackVariationNone: the asset is not a Live Photo, or uses the default Live Photo presentation.PHAssetPlaybackVariationAutoloop: the Live Photo plays back as a Loop.PHAssetPlaybackVariationMirror: the Live Photo plays back as a Bounce.PHAssetPlaybackVariationLongExposure: the Live Photo plays back as a Long Exposure.