Instance Method

requestThumbnailImagesAtTimes:timeOption:

Captures one or more thumbnail images asynchronously from the current movie.

Declaration

- (void)requestThumbnailImagesAtTimes:(NSArray *)playbackTimes timeOption:(MPMovieTimeOption)option;

Parameters

playbackTimes

An array of NSNumber objects containing the times at which to capture the thumbnail images. Each time value represents the number of seconds from the beginning of the current movie.

option

The option to use when determining which specific frame to use for each thumbnail image. For a list of possible values, see MPMovieTimeOption.

Discussion

This method processes each thumbnail request separately and asynchronously. When the results for a single image arrive, the movie player posts a MPMoviePlayerThumbnailImageRequestDidFinishNotification notification with the results for that image. Notifications are posted regardless of whether the image capture was successful or failed. You should register for this notification prior to calling this method.

See Also

Generating Thumbnail Images

- thumbnailImageAtTime:timeOption:

Captures and returns a thumbnail image from the current movie.

Deprecated
- cancelAllThumbnailImageRequests

Cancels all pending asynchronous thumbnail image requests.

Deprecated