Class

PHVideoRequestOptions

A set of options affecting the delivery of video asset data that you request from an image manager.

Declaration

class PHVideoRequestOptions : NSObject

Topics

Specifying Video Request Options

var version: PHVideoRequestOptionsVersion

The version of the video to request.

enum PHVideoRequestOptionsVersion

Options for requesting a video asset with or without adjustments, used by the version property.

var deliveryMode: PHVideoRequestOptionsDeliveryMode

A mode specifying the requested video quality and delivery priority.

enum PHVideoRequestOptionsDeliveryMode

Options for delivering requested video data, used by the deliveryMode property.

Fetching Video Data from iCloud

var isNetworkAccessAllowed: Bool

A Boolean value that specifies whether Photos can download the requested video from iCloud.

var progressHandler: PHAssetVideoProgressHandler?

A block Photos calls periodically while downloading the video.

typealias PHAssetVideoProgressHandler

The signature for a block that Photos calls while downloading asset data from iCloud. Used by the progressHandler property.

Relationships

Inherits From

Conforms To

See Also

Asset Loading

Loading and Caching Assets and Thumbnails

Request image, video, or Live Photos content, and cache for quick reuse.

class PHImageManager

An object that facilitates retrieving or generating preview thumbnails and asset data.

class PHCachingImageManager

An object that facilitates retrieving or generating preview thumbnails, optimized for batch preloading large numbers of assets.

class PHImageRequestOptions

A set of options affecting the delivery of still image representations of Photos assets you request from an image manager.

class PHLivePhotoRequestOptions

A set of options affecting the delivery of Live Photo assets you request from an image manager.