Enumeration

AVAssetImageGenerator.Result

The statuses indicating the outcome of image generation.

Declaration

enum Result : Int

Overview

The constants used in the block completion handler for generateCGImagesAsynchronously(forTimes:completionHandler:).

Topics

Image Generation Status

case succeeded

Image generation succeeded.

case failed

Image generation failed.

case cancelled

Image generation was canceled.

See Also

Generating Images

func copyCGImage(at: CMTime, actualTime: UnsafeMutablePointer<CMTime>?) -> CGImage

Returns an image for the asset at or near a specified time.

typealias AVAssetImageGeneratorCompletionHandler

A block that you use to receive thumbnail images generated from an asset.

func cancelAllCGImageGeneration()

Cancels all pending image generation requests.