Instance Method

cancelPendingSeeks

Cancels any pending seek requests and invokes the corresponding completion handlers if present.

Declaration

- (void)cancelPendingSeeks;

Discussion

Use this method to cancel and release the completion handlers of pending seeks.

The finished parameter of the completion handlers will be set to NO.

See Also

Moving the Playhead

- stepByCount:

Moves the player item’s current time forward or backward by a specified number of steps.

seekableTimeRanges

An array of time ranges within which it is possible to seek.

- seekToTime:completionHandler:

Sets the current playback time to the specified time and executes the specified block when the seek operation completes or is interrupted.

- seekToDate:completionHandler:

Sets the current playback time to the time specified by the date object.

- seekToTime:toleranceBefore:toleranceAfter:completionHandler:

Sets the current playback time within a specified time bound and invokes the specified block when the seek operation completes or is interrupted.

- seekToDate:

Sets the current playback time to the time specified by the date object.

Deprecated
- seekToTime:

Sets the current playback time to the specified time.

Deprecated
- seekToTime:toleranceBefore:toleranceAfter:

Sets the current playback time within a specified time bound.

Deprecated