Enumeration

AVAssetImageGeneratorResult

The statuses indicating the outcome of image generation.

Declaration

typedef enum AVAssetImageGeneratorResult : NSInteger {
    ...
} AVAssetImageGeneratorResult;

Overview

The constants used in the block completion handler for generateCGImagesAsynchronouslyForTimes:completionHandler:.

Topics

Image Generation Status

AVAssetImageGeneratorSucceeded

Image generation succeeded.

AVAssetImageGeneratorFailed

Image generation failed.

AVAssetImageGeneratorCancelled

Image generation was canceled.

See Also

Generating Images

- copyCGImageAtTime:actualTime:error:

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

- generateCGImagesAsynchronouslyForTimes:completionHandler:

Creates a series of image objects for an asset at or near specified times.

AVAssetImageGeneratorCompletionHandler

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

- cancelAllCGImageGeneration

Cancels all pending image generation requests.