Requests AVFoundation objects representing the video asset’s content and state, to be loaded asynchronously.
- iOS 8.0+
- tvOS 10.0+
The video asset for which video objects are to be loaded.
Options specifying how Photos should handle the request and notify your app of progress or errors. For details, see
A block that Photos calls after loading the asset’s data.
The block takes the following parameters:
Use this object to rearrange the asset’s audio tracks, edit additional audio into the mix, or configure an
AVAssetobject for exporting the asset’s audio data. If
nil, the asset uses a default audio mix.
A dictionary providing information about the status of the request. See Image Result Info Keys for possible keys and values.
A numeric identifier for the request. If you need to cancel the request before it completes, pass this identifier to the
When you call this method, Photos downloads the video data (if necessary) and creates AVFoundation objects. It then calls your
result block to provide the requested video.
Use this method when you want to work with the arrangement of audio and video tracks that an asset contains. If you plan to use the asset only for playback, call the
request method. If you plan to export the asset data, call the