Instance Method

stepByCount:

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

Declaration

- (void)stepByCount:(NSInteger)stepCount;

Parameters

stepCount

The number of steps by which to move.

A positive number steps forward, a negative number steps backward.

Discussion

The size of each step depends on the receiver’s enabled AVPlayerItemTrack objects (see tracks).

See Also

Moving the Playhead

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.

- cancelPendingSeeks

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

- 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